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


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.


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


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

Leave a Reply