Exception of type ‘Microsoft.Rest.Azure.CloudException’ was thrown

Question:

I am trying to assign role on web app using VSTS but below error displayed.

Powershell :

Error :

Note : It is working fine in local powershell client. Issue only with VSTS.

Answer:

Check have you provided correct Object ID. If you are providing Object ID via Variables, Value needs to be changed.

Source:

Exception of type ‘Microsoft.Rest.Azure.CloudException’ was thrown by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply