
However, when I run the PowerShell commands (Set-TenantSettings -RequestBody @{ "disablePortalsCreationByNonAdminUsers" = $true }) they always connect to my default production tenant, where I am not an admin.
I would like to know how to:
What is the correct way to switch tenants in Power Platform PowerShell to avoid affecting the wrong tenant?
Stay up to date on forum activity by subscribing.