Closed thanhnguyen0612 closed 3 years ago
Hello @thanhnguyen0612 : You're getting this error when following the powershell script instructions, right? If so, I can't recreate the error (the script works fine for me). However, I haven't really tried using the powershell scripts myself, so I'm not sure what could be going wrong.
Could you post more of the error message, or is that all there is? I see that the error mentions that updates are "not allowed in this version", so what version of the AzureAD module are you using (I have 2.0.2.118)?
Hi @Avery-Dunn,
Thanks for your answer. I have the same version AzureAD with you. And I've rechecked and I see that I can assign permission for an application which is created by script/code. Just see the above error in case of using script (Configure.ps1) to assign permission for existing application (I created this application manually in Azure portal).
Thank you.
As I said I haven't really run these scripts much, but I believe the Configure.ps1
script creates a new application each time (through the New-AzureADApplication
command, and everything is add to the app it creates), so I'm not sure if it's an existing application that's causing an issue.
If you run that Set-AzureADApplication
command manually (either with whatever parameters Configure.ps1
adds or something simpler like -DisplayName "test"
), does the issue still happen? Also, is the application you're trying to create/update in a B2C tenant? I've seen some old-ish posts about B2C causing issues with certain Set-AzureADApplication
options, so that may be causing issues.
Closing due to inactivity. If you're still having issues or have any related questions, feel free to re-open this thread.
I'm getting an error while executing script as below: Set-AzureADApplication : Error occurred while executing SetApplication Code: Request_BadRequest Message: Updates to converged applications are not allowed in this version.
Could you please help me to review this error? Thank you.