Oleg Sh
Oleg Sh

Reputation: 9013

Azure Cloud service deploy under not owner

My customer added my microsoft profile to his subscription as owner.

enter image description here

I logged to Visual Studio with this profile and try to publish cloud service. But I get an error:

enter image description here

why so and how to fix it?

Upvotes: 0

Views: 576

Answers (2)

Jason Ye
Jason Ye

Reputation: 13974

Cloud services are not available in this subscription.

This error is caused because for Azure Service Management (ASM) resources you should be co-admin in order to deploy services.

If you look on the new portal, you can see that you have permission for publishing on this subscription but one thing to keep in mind is that this “Owner” role is only valid for Azure Resource Manager resources. Even though you can manage Cloud Services on the new portal, it is an ASM resource and that’s why this role is not applicable for it. Roles configured on the new portal are RBAC and they are only valid for ARM resources.

So, you should ask for the subscription an Admin to add your user as co-admin on the old portal.

More information about co-admin and owner, please refer to this blog.

enter image description here

Update:

Sorry for my mistake.

For now, we should use new portal to add co-administrator, like this:

enter image description here

More information about add Co-administrator via new portal, please refer to this link.

Upvotes: 1

Oleg Sh
Oleg Sh

Reputation: 9013

User should be added as co-administrator, not only as owner. More information about it here:

https://azure.microsoft.com/en-us/documentation/articles/resource-manager-deployment-model/

Ability to add user as co-administrator is already added to new portal (and deprecated on old portal):

enter image description here

Upvotes: 0

Related Questions