-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerBI access to container using traefik - error "the token service reported by the resource is not trusted" #2359
Comments
Skiing in france this week, won't have time to see why this doesn't work. |
Thanks for feedback. Would you may try it with PowerBI, after your return? At the moment I'm more or less clueless why PowerBI is not trusting. If you need some more details or something pls let me know |
I've created a VM using https://aka.ms/getbc (without traefik) and got exactl the same error message from PowerBI |
FWIW, I see the exact same problem |
And you are using LetsEncrypt? or are you using self-signed certificates? |
We are using LetsEncrypt |
Yes, we too. |
Same problem here, using a on-premise BC installation on a AzureVM with official bought certificate. |
This issue is appearing in an on premise 19.x environment in production. @freddydk is a work around possible for our customer? |
For On-premises, the powerbi connector can just use username / password/wskey to become unblocked. |
Hello @freddydk, did you found any time to investigate on this topic? We currently "solved" this problem by creating a separate instance with NavUserPassword authentication, but because this is deprecated (Basic Auth) we would like to switch to OAuth as soon as possible. |
Containers will not stop working with UserPassword auth - and you will be able to use UserPassword even if the service tier is setup for AAD auth |
Assuming that people found a workaround on this issue, closing this. |
Describe the issue
![image](https://user-images.githubusercontent.com/39621236/159435622-f9ecd6b6-a31f-4403-9132-0c313f16dcba.png)
To be honest, I'm not sure it is related to BcContainerHelper, but as far as I know it works with classic On-Premises installations, so I just want to give it a try.
We're running BC containers using traefik. The containers authenticate using AAD and I've created all app registrations using
Create-AadAppsForBC
. This worked well and created a bunch of app registrations in Azure AD. Afterwards I created a new container, using the script below. Authentication on Web Client works well. I also was able to consume OData feeds using Postman:But as soon as I try to connect to OData feed using PowerBI I get the following error message:
![image](https://user-images.githubusercontent.com/39621236/159433304-37a1376f-5609-4e2a-b162-73a06f563663.png)
As you can see in the script below I was forced to add additional traefik route to make OData available, due to the issue reported with #2137. In our scenario it's ok because we've only one container where we need OData.
Scripts used to create container and cause the issue
Full output of scripts
Additional context
I've read that I can also use
Dynamics 365 Business Central (on-premises)
as data source in Power BI, but this seems to only supportNavUserPassword
orBasic Authentication
, not sure. I tried with my AAD credentials, but it does not work.The text was updated successfully, but these errors were encountered: