Skip to content

OneDrive API Browser Sample #29

Open
@GiorgioITS

Description

@GiorgioITS

I have problems trying to run the OneDrive API Browser Sample.
I loaded it in VS19, I upgraded the MicrosoftGraph and Microsoft.Identity, then I had to set the code for .NET 4.7.2; compiles OK.
I tried to register the program in the Azure portal, although the instructions do not match with the current format of the portal.
I run the program and sign-in; after inserting the credentials of my MS account I get the following message:

OneDrive reported the following error: The request is not valid for the application's 'userAudience' configuration. In order to use /common/ endpoint, the application must not be configured with 'Consumer' as the user audience. The userAudience should be configured with 'All' to use /common/ endpoint.

Neither in the code nor in the Azure portal I have been able to find any reference to 'userAudience' so I am stuck.

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