See https://helpdesk.sherweb.com/a/solutions/articles/67000724435?lang=en&portalId=67000072402

Symptoms

Sherweb needs to be added as a Foreign Principal to manage your subscriptions.  If this is missing, you can follow the steps below to add it.


Resolution

The steps below are performed in PowerShell and can be done from any computer.  If the Azure PowerShell module is not installed, it can be installed with the following command:

 

Install-Module -Name Az -Force

 

Run the following three commands in PowerShell replacing CSP_TENANT_NAME and CSP_SUBSCRIPTION_ID with the correct values:

 

Connect-AzAccount -TenantID CSP_TENANT_NAME

 

Set-AzContext -SubscriptionID CSP_SUBSCRIPTION_ID

 

New-AzRoleAssignment -ObjectID "c3e7caf0-c590-4086-9467-abbcd2d62e58" -RoleDefinitionName "Owner" -Scope "/subscriptions/CSP_SUBSCRIPTION_ID"