2021年4月4日星期日

When to prefix the resource with "api://" when acquiring an AccessToken to gain access to a protected API

There are two Application Registrations in Azure and both have the Application ID URI set to api://{GUID}.

However for the first application I need to provide the complete Application ID URI, including the prefix api://. And for the second application, I only need to provide the {GUID} to get a working valid AccessToken.

Both applications are used on-behalf "access_as_user" scope.

What could be the difference ?

https://stackoverflow.com/questions/66918857/when-to-prefix-the-resource-with-api-when-acquiring-an-accesstoken-to-gain April 02, 2021 at 07:47PM

没有评论:

发表评论