Hi Gerdmate Team,
The client '<client>' with object id '<objectId>' does not have authorization to perform action '<action>' over scope '<scope>' or the scope is invalid. means
the user doesn't have permissions to the resource at the selected scope.
To Restore Access: If another Owner or User Access Administrator account exists for the subscription:
- Log in with that account.
- Go to:
Azure Portal > Subscriptions > <Your Subscription> > Access control (IAM)
- Add the removed user back with:
- Role: Owner or Contributor
- Scope: Subscription or specific resource group
- If you're trying to access a VM:
- Ensure the user also has Virtual Machine Contributor or Reader on the VM's resource group.https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal?tabs=current
Similar thread: https://learn.microsoft.com/en-us/answers/questions/1193583/azure-subscription-the-client-live-com-with-object
Hope it helps!
Let me know if you have any further queries!