Skip to main content

Notifications

Announcements

No record found.

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

Trial Account API client_id / secret

Posted on by 5

I managed to make it to the Power Platform admin center and create an environment but I can't figure out how to get a client_id and secret. I registered in azure to get a client_id and secret but it's erroring on login because the azure account isn't the same as the power platform. I've looked at quite a few forums and docs at this point. Please help. 

  • Suggested answer
    PerezAguiar Profile Picture
    PerezAguiar on at
    RE: Trial Account API client_id / secret

    Hey Michael. 

    What are you trying to achieve?  Client+Secret is usually required and generated on Azure, to create a Service Principal (an account that will be used to access resources in another app, like dynamics/powerPlatform)

    on https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#register-an-application-with-azure-ad-and-create-a-service-principal you have the information on how to do this.  Follow steps

    a) Register an application with AzureAD and create a service principal

    b) Assign a role.  ON the "Role", search for the ones associated with PowerPlatform/Dataverse

    c) Set up authentication.  ON this point, follow option 3 to generate a Secret.  Please, remember to save the secret as once you move away, you won't be able to see it again.

    d) Once this is done, go to PowerPlatform admin center, on the environment of your choise and add an Application User.... should introduce the ClientiD (APplicationID) from azure.

    Again, this is for Application User (or Service Accounts).  For standard users, the procedure is different.

    Regards,

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans