Reputation: 5064
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 :
Please help to solve issue and what should we have add in Sope value.
Thanks
Upvotes: 1
Views: 604