How do I get ServicePlanID? Getting the ServicePlanID
Run the ‘Get-AzureADSubscribedSKU’ command after connecting to AzureAD Powershell. This will return the ObjectID, SkuPartNumber and SkuID of every license you own. Select the correct ObjectID of the license you want and write it down. Use the ObjectID that you got from the previous command.
What is Enterprisepack? For example, ENTERPRISEPACK is the license plan name for Office 365 Enterprise E3. Enabled: Number of licenses that you’ve purchased for a specific licensing plan. ConsumedUnits: Number of licenses that you’ve assigned to users from a specific licensing plan.
What is Adallom_s_discovery? ‘ADALLOM_S_DISCOVERY’ = ‘Cloud App Security Discovery‘ ‘ADALLOM_S_O365’ = ‘Office 365 Advanced Security Management’
How do I connect to MsolService? The Connect-MsolService cmdlet attempts to initiate a connection to Azure Active Directory. You must specify a credential, as a PSCredential object, or specify the CurrentCredentials parameter to use the credentials of the current user.