Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Create a daily capacity report - Power Platform Dataverse

(0) ShareShare
ReportReport
Posted on by 15

Hello Expert,

I have the requirement to show  Dataverse Statistics like how much users are active, API call count and so on.

I want to make a total report on it for one of my client.

pastedimage1628061569948v1.png

I follow this blog and tried in Logic Apps, Power Automate Flow Post Man but I failed to di this.

@Create a daily capacity report - Power Platform

  

the error that I face is

{

  "error": {

    "code": "Forbidden",

    "message": "The service principal with id 'd8885844-c485-4084-a82d-3d41c9229bab' for application 37cbcd3b-a65c-45dd-a4c2-d2ecdb172431 does not have permission to access the path 'api.bap.microsoft.com/.../environments in tenant 57e41d6a-7ae1-49dd-844f-9821ad8d120f."

  }

}

 

I apply all the permissions in Azure App but still not able to solve the Issue.

 

Thanks to reading my post.

 

Thanks & Regards

Sohail

  • Sohail Yousaf Profile Picture
    15 on at
    RE: Create a daily capacity report - Power Platform Dataverse

    Hi @Nya,

    Thanks for your Quick Response

    I saw the above mentioned URL details in which most of the point I was already did and remaining point I did  but still I'm having the same issue.

    The service principal with id '38f08691-2401-410c-9443-9becc3ce11f4' for application 2c043150-b8f4-4399-ad9f-58d47ffe2c15 does not have permission to access the path 'api.bap.microsoft.com/.../environments in tenant 51e4re12-3998-t4yd-bd9a-c8a048a1ecf7

    Again thanks for your valuable time.

    Regards,

    Sohail Yousaf

  • Suggested answer
    Nya Profile Picture
    29,058 on at
    RE: Create a daily capacity report - Power Platform Dataverse

    Hi Sohail,

    Please refer to the following Troubleshooting:

    Troubleshooting common authentication errors, Azure Marketplace | Microsoft Docs

    And check if the correct service principal has been added to your publisher account in the Cloud Partner Portal.

    If not, please follow the steps in:

    API Prerequisites - Azure Marketplace | Microsoft Docs

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans