When running the script CreateDevAADApp.ps1 with Powershell 7.4.4 I am getting the following error:
ERROR: Bad Request({"error":{"code":"Request_BadRequest","message":"An unexpected 'StartObject' node was found for property named 'id' when reading from the JSON reader. A 'PrimitiveValue' node was expected.","innerError":{"date":"2024-08-15T10:43:38","request-id":"dae4962b-aa48-42a7-a981-112fbd4002fd","client-request-id":"dae4962b-aa48-42a7-a981-112fbd4002fd"}}})
I was able to fix this issue by forcing the New-Guid to be string:
When running the script
CreateDevAADApp.ps1
with Powershell 7.4.4 I am getting the following error:I was able to fix this issue by forcing the New-Guid to be string: