Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Create a daily capacity report - Power Platform Dataverse

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
    Sohail Yousaf 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
    Nya 29,056 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans