Forum Discussion
Is there anyone familiar with: https://wabi-us-north-central-d-primary-redirect.analysis.windows.net
- 3 years ago
Yes, all the admin commands api were not working with the SPN. Now I i did found that it finally works after i have done this:
DELETE all the API permission I had. From a Microsoft doc, I found that the app MUST NOT have any admin-consent required. With the api permissions I had, some were admin consent. All fixed now!
Yes, all the admin commands api were not working with the SPN. Now I i did found that it finally works after i have done this:
DELETE all the API permission I had. From a Microsoft doc, I found that the app MUST NOT have any admin-consent required. With the api permissions I had, some were admin consent. All fixed now!
Just a heads up.
The admin API does works good since April with the SPN as well.
However, all the wabi api (no publick Microsoft api is available yet) are NOT working with the SPN.
I am looking to use that to fetch all reports in workspaces. --> Contact owner infos.
I was able to get that to works with 2 APIS (with my admin account)
-Invoke-PowerBIRestMethod -Verbose -Url "https://wabi-us-north-central-d-primary-redirect.analysis.windows.net/metadata/reports/$reported/" -Method Get
-Invoke-PowerBIRestMethod -Verbose -Url "https://wabi-us-north-central-d-primary-redirect.analysis.windows.net/metadata/reports/$reportId/con..." -Method Get
The issue I am having is that I can only get the workspaces-reports that I am part of it. I do have a SPN with no api permission for PowerBi Service, as Microsoft doc suggest.
If anyone was able to get further with this? thanks!