Skip to main content

Notifications

Announcements

No record found.

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

how to get JWT to update entities using Web API

Posted on by 5

In order to call https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/update-delete-entities-using-web-api basic update is required a JWT as authentication. I am able to generate a JWT using login.microsoftonline.com/{{TenantID}}/oauth2/v2.0/token however I am still getting HTTP response 401 while calling entiiy base update. Can you please let me know what am I missing?

  • Suggested answer
    RE: how to get JWT to update entities using Web API

    Hi!

    If your JWT is fine then, using a tool like Fiddler with HTTPS decryption will give you more details about the 401 error.

    If you are not sure about the JWT required arguments, I'd suggest you try the following setup:

    Set up a Postman environment

    docs.microsoft.com/.../setup-postman-environment

    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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans