Once PowerDataOps module installation is done, you need to load module before use it.
Import-Module PowerDataOps -DisableNameChecking
Adding parameter -DisableNameChecking
hide unapproved verbs warning.
2 verbs are actually not approved but used in this module : ForEach
and Upsert
This cmdlet initialize a CrmServiceClient object to interact with Microsoft Dataverse.
You need to provide a connection string -ConnectionString
New-XrmClient -ConnectionString "AuthType=ClientSecret;url=https://contosotest.crm.dynamics.com;ClientId={AppId};ClientSecret={ClientSecret}"
New-XrmClient command will try to run Connect-XrmAdmin automatically.
This cmdlet authenticate admin user in order to manage environments with Microsoft.PowerApps.Administration.PowerShell module.
Parameters are the same as Add-PowerAppsAccount
Connect-XrmAdmin -AuthType Office365 -UserName "user@contoso.fake" -Password "MyPass123"