In CRM Online, which runs on this "Power Platform", er, platform, how the heck do you manage roles to user/groups programmatically? (Permissions aren't the issue, I can do it via the Power Platform GUI or within CRM itself.)
Powershell is preferred but the `Microsoft.PowerApps.Administration.PowerShell` doesn't seem to support it. (And so far seems really badly written/incomplete)
I've tried using the PowerPlatform CLI, up to and including registering a service principal, (which is added to the CRM environment), but
give the error
(Even when using valid user credentials)
Am I missing something obvious? How do folks manage users when provisioning/migrating environments?