Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Azure Active Directory and Microsoft Dynamic 365 finance & operation authentication token issue

(0) ShareShare
ReportReport
Posted on by

I want to use web API for the MicroSoft Dynamic 365 Finance and Operation, as per the their guide line I have created/registered app in the Azure Active Directory and try to generate Access Toke as per below using the Postman, but getting issue of scope :

Error: AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope https://api.financials.dynamics.com/ is not valid. The scope format is invalid. Scope must be in a valid URI form https://example/scope or a valid Guid ..

Postman get access token data

Auth URL : https://login.microsoftonline.com/coromed.onmicrosoft.com/oauth2/v2.0/authorize

Access Tocken URL :https://login.microsoftonline.com/coromed.onmicrosoft.com/oauth2/v2.0/token

Client id = [Our Client ID]

Client Secret = [hsdhjkfhsjkdhfjkwshdjkfhsjkdhfjsdjhfgwjdsgfwegew]

Scope = https%3A%2F%2Fapi.financials.dynamics.com%2F

Grant Type = Autorization Code

Which parameter and its format have to use in scope field ?

Below is snapshot :

enter image description here

enter image description here

Please help to solve issue and what should we have add in Sope value.

Thanks

Categories:
  • Community Member Profile Picture
    on at
    RE: Azure Active Directory and Microsoft Dynamic 365 finance & operation authentication token issue

    Yes tried with scope remain blank, but not working. It shows error scope is invalid.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Azure Active Directory and Microsoft Dynamic 365 finance & operation authentication token issue

    Have you tried leaving Scope blank?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans