Issue:
Error when updating Azure Entra ID Identity script;
"ERROR during Azure deployment: Cannot validate argument on parameter 'Tenant'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
Collecting information on failed deployments..."
Resolution:
Do make sure that any older or previous script is removed before running a newer script.
- Go to Azure and open the Cloud Shell
- Cleanup the old script files from their Azure shell using rm -r withsecure
- Upload the new script to the shell and unzip it
- Change directory to the withsecure folder using cd withsecure
- execute the update command: ./deploy.ps1 -update $true