Skip to content
Discussion options

You must be logged in to vote

This might be the issue, our sample does not fully support B2B scenarios at the moment.
I have created a PR to fix this, please refer to it and change your code accordingly: #115

Another thing, if you're working dynamically with scopes and not configuring them on your entra Id application, you will need to ask for a consent for specific scopes and not use the .default scope:
For example, if you want to ask for a token for "https://analysis.windows.net/powerbi/api/Item.Read.All" and you don't have it configured on your application, you must ask for a consent for "https://analysis.windows.net/powerbi/api/Item.Read.All" and not "https://analysis.windows.net/powerbi/api/.default".

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@q-benwillis
Comment options

@ramizsha
Comment options

@q-benwillis
Comment options

@ramizsha
Comment options

ramizsha Oct 1, 2024
Collaborator

Answer selected by q-benwillis
@q-benwillis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants