Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
PavanPranav
Regular Visitor

Admin - Apps GetAppsAsAdmin (One or more errors occurred) when trying to access this API

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 usedscript used

Error facedError faced

2 REPLIES 2
PavanPranav
Regular Visitor

Hi @v-rzhou-msft , 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.

v-rzhou-msft
Community Support
Community Support

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.

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.