Using Console
Using CLI
az security setting show --name 'TrustedMicrosoftServices'
If the output shows “false” for the “isEnabled” parameter, it means that Trusted Microsoft Services are not enabled.
az security setting set --name 'TrustedMicrosoftServices' --enabled true
az security setting show --name 'TrustedMicrosoftServices'
The output should show “true” for the “isEnabled” parameter.
Using Python
Contributor
role for the subscription: