You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
b3nt0
changed the title
Setting SignInAuience in aadb2c-create-test-webapp.ps1 fails.
Setting SignInAudiences in aadb2c-create-test-webapp.ps1 fails.
Aug 18, 2020
The $body variable at the bottom of the script that is included in the PATCH request needs to look like this:
$body = @{ api = @{ requestedAccessTokenVersion = 2 } SignInAudience = "AzureADandPersonalMicrosoftAccount" }
Once that has been included you can create a B2C application successfully.
@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?
The text was updated successfully, but these errors were encountered: