Hi friends,
when trying to create a resource using Powershell Azure I get a warning below:
---------->
PS C:\> New-AzResourceGroup -name Test -location brazilsouthNew-AzResourceGroup : The current subscription type is not permitted to perform operations on any provider namespace.
Please use a different subscription.
PS C:\> Get-AzSubscription
Name Id TenantId State
---- -- -------- -----
Access to Azure Active Directory x x Enabled
Microsoft Partner Network x x Enabled
<---------
I can create resources using the portal without problems and when I listed (Get-AzResourceGroup) it did not show any resources, but the resource appears in the azure portal.
I am logged in with the same portal account on Powershell Azure.
I tried some commands to select the subscription (Microsoft Partner Network), believing that this could be the problem, but I couldn't and honestly I don't know if this is really the problem.
What am I doing wrong?
Thanks.