Skip to content

Setting SignInAudiences in aadb2c-create-test-webapp.ps1 fails. #2

@b3nt0

Description

@b3nt0

@cljung

I'm getting an error from the HTTP PATCH operation at the end of "aadb2c-create-test-webapp.ps1".

Error output is:

Invoke-RestMethod : { "error": { "code": "InvalidAccessTokenVersion", "message": "One or more properties contains invalid values.", "innerError": { "date": "2020-08-18T12:49:22", "request-id": "bcc86468-903d-4e7f-8f57-9e558b8f8bab" } } } At C:\Users\joshu\source\repos\test\aadb2c-create-test-webapp.ps1:71 char:1 Invoke-RestMethod -Uri $apiUrl -Headers @{Authorization = "Bearer $($ ...

I've tried different values for the URL's including the beta graph endpoint and v2 token endpoint. I should also mention that I've created a new tenant and followed the getting started instructions.

I didn't think that it was even possible to set the value of SignInAudiences to the value of "AzureADandPersonalMicrosoftAccount" without going through the portal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions