The client does not have the authorization to perform action ‘Microsoft.Web/serverfarms/read’ over scope ‘/subscriptions/xxxxxxxx-xxxxxxx-xxxx/resourceGroups/xxxxxxxxxxx/providers/Microsoft.Web/serverfarms/xxxx’ or the scope is invalid. If access was recently granted, please refresh your credentials
This Azure error indicates that the user or service principal attempting to access the App Service Plan (serverfarms) lacks sufficient permissions at the specified scope. The error is common when permissions have not been granted or recently changed without refreshing credentials. Why This Error Occurs Insufficient Permissions: The user or service principal lacks the [...]