Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Everyone,
I am trying to get the list of Apps in the organisation and tried to acess the API - Apps GetAppsAsAdmin using powershell and getting an error message.
$Apps = Invoke-PowerBIRestMethod -Url $Url_apps -Method Get | Convert ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...werBIRestMethod:InvokePowerBIRestMethod) [Invoke-PowerBIRestMethod], AggregateException
+ FullyQualifiedErrorId : One or more errors occurred.,Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMethod
I am logging in with my admin credentials and able to fetch data from other APIs like Datasets GetDatasetUsersAsAdmin but failed do the same with the API- Apps GetAppsAsAdmin.
Kindly help me out with this. This helps a lot.
Thank you.
script used
Error faced
Hi @Anonymous , The post you shared do not have a solution for the problem. Hence, my problem isn't solved.
I am able to access every other Power BI REST Admin APIs like (GetReportsasAdmin, GetGroupsasAdmin, GetDatasetUsersasAdmin) which require same scope as API GetAppsasAdmin whichi is Tenant.ReadAll or Tenant.ReadWriteAll.
I am only failing to access the GetAppsasAdmin API. I am unable to find out the root cause.
Any help is highly appreaciated.
Thank you.
Hi @PavanPranav ,
Please learn more details from offical blog.
Here is a solved post with similiar issue like yours and I hope it could help you solve your issue.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |