I am trying to add redirect URLs to Azure Application. I know I can do this from Portal here:
I ran the below commands in Powershell to do the same:
Connect-AzureAD
Set-AzureADApplication -ObjectId $app_id -ReplyUrls $Urls
But I got stuck with this error:
Set-AzureADApplication : Error occurred while executing SetApplication
Code: Authentication_Unauthorized Message: User was not found.
RequestId: redacted DateTimeStamp: Tue, 13
Sep 2022 10:27:33 GMT HttpStatusCode: Forbidden HttpStatusDescription:
Forbidden HttpResponseStatus: Completed At line:1 char:1
Is this possible from Powershell? If there is any query in Graph, that also helps. Any ideas!
Any help is appreciated




