Forum Discussion
Connection via link://alias fails
- 8 years ago
So I managed to it it working but not by changing any of the URLs etc
The version that didn't work was this:
link://xxxxxxx.azurewebsites.net/api/cube/test
This is implemented as an Azure Function App.
Another version that did work is:
link://xxxxconfig20180828050651.azurewebsites.net/api/values
This is implemented as an ASP.NET core web app
There is no difference in their implementation as they both use the same C# internally to return the asazure: connection string.
They both return exactly the same response body.
Only the response headers are slightly different:
cache-control →no-cachecontent-encoding →gzipcontent-length →174content-type →text/plain; charset=utf-8date →Fri, 31 Aug 2018 08:20:42 GMTexpires →-1pragma →no-cacheserver →Microsoft-IIS/10.0vary →Accept-Encodingx-powered-by →ASP.NETandcontent-encoding →gzipcontent-type →text/plain; charset=utf-8date →Fri, 31 Aug 2018 08:20:47 GMTrequest-context →appId=cid-v1:4226b7bc-9f11-4d6c-a7fe-116613d6e058server →Kestrelstrict-transport-security →max-age=2592000transfer-encoding →chunkedvary →Accept-Encodingx-powered-by →ASP.NETRespectively.So why does one work and the other doesn't? What specific feature is PowerBI relying on in the second case?----
Also the reasons for the additional questions are:
1. The docs are not clear - are you saying all Azure Server names can be aliased like this?
2. I know this is an alias for Azure Analyis Services, however the link:// works in PowerBI but not Management Studio so I assume this is a PBI feature?
3. Azure Analysis Servcies.
4. My screen shots are exactly as per https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-server-alias so hence not posted. - The issue is not how the dialog is filled out but why one implementation doesn't work.
Hi jsnape,
Seems you don't permission to connect to the Azure Service.
1. It's an alias of Azure Server names.
2. As we can see from the doc, the alias is for the Azure Analysis Services server. What is yours?
3. Which connector did you use in PBI Desktop?
4. How did you input these values in the connector? Can you share some snapshots?
Best Regards,
Dale
So I managed to it it working but not by changing any of the URLs etc
The version that didn't work was this:
link://xxxxxxx.azurewebsites.net/api/cube/test
This is implemented as an Azure Function App.
Another version that did work is:
link://xxxxconfig20180828050651.azurewebsites.net/api/values
This is implemented as an ASP.NET core web app
There is no difference in their implementation as they both use the same C# internally to return the asazure: connection string.
They both return exactly the same response body.
Only the response headers are slightly different:
----
Also the reasons for the additional questions are:
1. The docs are not clear - are you saying all Azure Server names can be aliased like this?
2. I know this is an alias for Azure Analyis Services, however the link:// works in PowerBI but not Management Studio so I assume this is a PBI feature?
3. Azure Analysis Servcies.
4. My screen shots are exactly as per https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-server-alias so hence not posted. - The issue is not how the dialog is filled out but why one implementation doesn't work.