Refreshing AAS data in a workbook in SharePoint Online

%3CLINGO-SUB%20id%3D%22lingo-sub-2875915%22%20slang%3D%22en-US%22%3ERefreshing%20AAS%20data%20in%20a%20workbook%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2875915%22%20slang%3D%22en-US%22%3E%3CP%3EI%20need%20to%20allow%20external%2Fguest%20users%20access%20to%20an%20Excel%20document%20with%20a%20connection%20to%20AAS%20stored%20on%20SharePoint%20Online%20(SPO)%20using%20Excel%20for%20the%20web.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20data%20stored%20on%20Azure%20Analysis%20Services%20(AAS).%20I%20created%20a%20connection%20to%20the%20AAS%20tabular%20model%20in%20Excel%20desktop%20app%20(M365%20Apps%20for%20Enterprise%20%5BE5%5D%2C%20V%202108%2C%20Current%20Channel).%20The%20connection%20is%20successful%20and%20I'm%20able%20to%20manipulate%20the%20Pivot%20Table%20without%20error%20from%20my%20desktop.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENext%20I%20upload%2Fsync%20my%20Excel%20file%20with%20SPO.%20In%20Microsoft%20Edge%2C%20I%20open%20the%20Excel%20file%20from%20the%20SPO%20documents%20list%20in%20Excel%20for%20the%20web.%20I%20attempt%20to%20refresh%20the%20connection%20and%20receive%20a%20prompt%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EBe%20careful.%20The%20query%20to%20get%20the%20data%20might%20be%20unsafe%20so%20you%20should%20only%20refresh%20the%20workbook%20if%20you%20trust%20its%20source.%20Do%20you%20want%20to%20refresh%3F%20Yes%20or%20No%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20select%20Yes%2C%20and%20receive%20the%20following%20error%20message%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22%22%3E%3CEM%3EWe%20were%20unable%20to%20refresh%20one%20or%20more%20data%20connections%20in%20this%20workbook.%26nbsp%3B%3C%2FEM%3E%3CEM%3EThe%20following%20connections%20failed%20to%20refresh%3A%26nbsp%3B%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CEM%3Easazure___centralus.asazure.windows.net_companynameanalyticsdevas%20adventureworks%20Model%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3EDoes%20anyone%20know%20if%20this%20configuration%20should%20work%3F%20If%20so%2C%20any%20suggestions%20on%20settings%20that%20would%20need%20to%20be%20configured%20or%20permissions%20that%20might%20need%20to%20be%20granted%3F%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3EI've%20read%20a%20bit%20about%20Business%20Connectivity%20Services%20(BCS)%20and%20Secure%20Store%20Target%20Application%20or%20Secure%20Storage%20Service%20(SSS)%20%5Bpossibly%20using%20a%20service%20account%3F%5D%2C%20but%20not%20sure%20if%20it's%20applicable%20to%20SPO%2C%20AAS%2C%20and%20Excel%20for%20web%20configuration.%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2875915%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

I need to allow external/guest users access to an Excel document with a connection to AAS stored on SharePoint Online (SPO) using Excel for the web.

 

I have data stored on Azure Analysis Services (AAS). I created a connection to the AAS tabular model in Excel desktop app (M365 Apps for Enterprise [E5], V 2108, Current Channel). The connection is successful and I'm able to manipulate the Pivot Table without error from my desktop.

 

Next I upload/sync my Excel file with SPO. In Microsoft Edge, I open the Excel file from the SPO documents list in Excel for the web. I attempt to refresh the connection and receive a prompt:

 

Be careful. The query to get the data might be unsafe so you should only refresh the workbook if you trust its source. Do you want to refresh? Yes or No

 

I select Yes, and receive the following error message:

 

We were unable to refresh one or more data connections in this workbook. The following connections failed to refresh: 
asazure___centralus.asazure.windows.net_companynameanalyticsdevas adventureworks Model
 
Does anyone know if this configuration should work? If so, any suggestions on settings that would need to be configured or permissions that might need to be granted?
 
I've read a bit about Business Connectivity Services (BCS) and Secure Store Target Application or Secure Storage Service (SSS) [possibly using a service account?], but not sure if it's applicable to SPO, AAS, and Excel for web configuration.
0 Replies