DevOps Cloud (ADM)
Cybersecurity
IT Operations Cloud
For Example: The Client ID looks like:
Client ID: bce43b27-e7ef-4f92-b2f7-ce673516e073
For Example: The Client Secret looks like:
Client Secret: 6zMnJe1XCYUQIJv4aPQHLu4fokcd6aOA/j9gMkJJ2Gc=
Connect-MSolService
General Syntax: Get-MsolServicePrincipal | ft DisplayName, <AppPrincipalId> -AutoSize
General Syntax: $ClientIdWebApp = '<AppPrincipalId>'
$webApp = Get-MsolServicePrincipal –AppPrincipalId $ClientIdWebApp Add-MsolRoleMember -RoleName "Company Administrator" -RoleMemberType ServicePrincipal -RoleMemberObjectId $webApp.ObjectID