Failed to get authentication tokens for Windows Azure AD

Created on 7 March 2023, over 1 year ago
Updated 24 May 2024, 6 months ago

Problem/Motivation

Noticed, when using Windows Graph API (v1.0) as a User info endpoint configuration it throws the following error:

Could not retrieve tokens. Details: Client error: `POST https://login.microsoftonline.com/tenant_id/oauth2/v2.0/token` resulted in a `400 Bad Request` response: {"error":"invalid_request","error_description":"AADSTS901002: The 'resource' request parameter is not supported.

Steps to reproduce

Proposed resolution

When the Windows Graph API (v1.0) is selected, then:

  1. Use 'scope' parameter instead of 'resource'.
  2. Use 'https://graph.microsoft.com/.default' as the scope value

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇦🇺Australia frank8199

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024