Skip to content

Device code flow not working with /common #5

Open
@SaeedAkhter-MSFT

Description

@SaeedAkhter-MSFT

"authority": "https://login.microsoftonline.com/common",

For some reason, I'm unable to do device code flow with /common.

"AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials.\r\nTrace ID: 0429e904-7771-4175-a8c6-366cb0b30400\r\nCorrelation ID: 54a1a1ab-cb1f-4b26-a7cb-34315391d301\r\nTimestamp: 2020-10-10 22:29:22Z",

I made sure that Default to Public Client on the app registration is set. If I change /common to /microsoft.com in parameters.json, then this sample works perfectly.

I am using a multi-tenant app.
Who can use this application or access this API?
Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)

Is this expected? Does the app need to be audience AAD-only? If so, we better update the documentation and samples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions