This script suspends/Resume the PowerBI Embedded Capacity in Azure by a given PBE resource name.Pre-Requisites Install AzureRM.PowerBIEmbedded moduleYou have to create your automation account as Run As Account feature, sine this script uses AzureRunAsConnection for authentic
Why do you think that https://github.com/azureautomation/audit-azure-subscription-rbac-assignments is a good alternative to suspend_resume_pbiembedded-by-single-resource