M​SOnline

Note: this is the older MSOnline V1 PowerShell module for Azure Active Directory. Customers are encouraged to use the newer Azure Active Directory V2 PowerShell module instead of this module. For more information about the V2 module please see Azure Active Directory V2 PowerShell .

Note: There are two versions of the MSOnline Module for Windows PowerShell available: a General Availability version and a Public Preview Version. The Public Preview version contains cmdlets that have not yet been released for General Availability. Select the version you want from the Azure Active Directory Connection download page , download its .msi file, and click Run to run the installer package. For more detail info on installation of the AzureAD cmdlets please see: Azure ActiveDirectory (MSOnline) .

This topic displays help topics for the Azure Active Directory MSOnline module.

MSOnline

Add-​Msol​Administrative​Unit​Member

Adds a member to an administrative unit.

Add-​Msol​Foreign​Group​To​Role

Adds a security group from a partner tenant to a Role in this tenant.

Add-​Msol​Group​Member

Adds a member to an existing security group.

Add-​Msol​Role​Member

Adds a member to an administrator role.

Add-​Msol​Scoped​Role​Member

Adds a member to an administrative unit-scoped role.

Confirm-​Msol​Domain

Verifies a custom domain.

Confirm-​Msol​Email​Verified​Domain

Confirms ownership of an unmanaged tenant.

Connect-​Msol​Service

Initiates a connection to Azure Active Directory.

Convert-​Msol​Domain​To​Federated

Converts the domain from using standard authentication to using single sign-on.

Convert-​Msol​Domain​To​Standard

Converts the domain from using single sign-on (also known as identity federation) to using standard authentication.

Convert-​Msol​Federated​User

Updates a user in a domain that was recently converted from single sign-on.

Disable-​Msol​Device

Disables a device object in Azure Active Directory.

Enable-​Msol​Device

Enables a device object in Azure Active Directory.

Get-​Msol​Account​Sku

Returns all the SKUs for a company.

Get-​Msol​Administrative​Unit

Retrieves administrative units from Azure AD.

Get-​Msol​Administrative​Unit​Member

Gets members of an administrative unit.

Get-​Msol​Company​Allowed​Data​Location

Get the current allowed data locations of a company from Azure Active Directory.

Get-​Msol​Company​Information

Retrieves company-level information.

Get-​Msol​Contact

Gets contacts from Azure Active Directory.

Get-​Msol​Device

Gets an individual device, or a list of devices.

Get-​Msol​Device​Registration​Service​Policy

Gets the Azure Active Directory device registration service settings.

Get-​Msol​Dir​Sync​Configuration

Gets the directory synchronization settings.

Get-​Msol​Dir​Sync​Features

Gets the status of identity synchronization features for a tenant.

Get-​Msol​Dir​Sync​Provisioning​Error

Checks for objects with synchronization provisioning errors in a tenant.

Get-​Msol​Domain

Retrieves a domain Microsoft Azure Active Directory.

Get-​Msol​Domain​Federation​Settings

Gets key settings for a federated domain.

Get-​Msol​Domain​Verification​Dns

Gets DNS records necessary to verify a domain.

Get-​Msol​Federation​Property

Displays the properties of the Active Directory Federation Services 0.0 server and Microsoft Online.

Get-​Msol​Group

Retrieves a group from Microsoft Azure Active Directory.

Get-​Msol​Group​Member

Retrieves all members of the specified group.

Get-​Msol​Has​Objects​With​Dir​Sync​Provisioning​Errors
Get-​Msol​Partner​Contract

Gets a list of contracts for a partner.

Get-​Msol​Partner​Information

Retrieves company-level information for partners.

Get-​Msol​Password​Policy

Gets the current password policy for a tenant or a domain.

Get-​Msol​Role

Gets administrator roles.

Get-​Msol​Role​Member

Gets members of a role.

Get-​Msol​Scoped​Role​Member

Gets members of a role who are granted that role over an administrative unit.

Get-​Msol​Service​Principal

Retrieves a service principal or list of service principals from Microsoft Azure Active Directory.

Get-​Msol​Service​Principal​Credential

Gets credentials associated with a service principal.

Get-​Msol​Subscription

Gets subscriptions.

Get-​Msol​User

Gets users from Azure Active Directory.

Get-​Msol​User​By​Strong​Authentication

Gets users based on strong authentication type.

Get-​Msol​User​Role

Retrieves a list of roles that the specified user is a member of.

New-​Msol​Administrative​Unit

Adds a new administrative unit to Azure Active Directory.

New-​Msol​Domain

Add a domain to Azure Active Directory.

New-​Msol​Federated​Domain

Adds a new single sign-on domain to Microsoft Online Services and establishes the relying party trust.

New-​Msol​Group

Adds a new group to the Azure Active Directory.

New-​Msol​License​Options

Creates a License Options object.

New-​Msol​Service​Principal

Adds a service principal to Azure Active Directory.

New-​Msol​Service​Principal​Addresses

Creates a service principal address.

New-​Msol​Service​Principal​Credential

Add a credential key to a service principal.

New-​Msol​User

Creates a user in Azure Active Directory.

New-​Msol​Well​Known​Group

Creates a well-known group.

Redo-​Msol​Provision​Contact

Retries the provisioning of a contact object in Azure Active Directory.

Redo-​Msol​Provision​Group

Retries the provisioning of a group object in Azure Active Directory.

Redo-​Msol​Provision​User

Retries the provisioning of a user object in Azure Active Directory.

Remove-​Msol​Administrative​Unit

Deletes an administrative unit from Azure Active Directory.

Remove-​Msol​Administrative​Unit​Member

Removes a member from an administrative unit.

Remove-​Msol​Application​Password

Removes a password for an application.

Remove-​Msol​Contact

Removes a contact from Azure Active Directory.

Remove-​Msol​Device

Remove a device object from Azure Active Directory.

Remove-​Msol​Domain

Removes a domain from Azure Active Directory.

Remove-​Msol​Federated​Domain

Removes a single sign-on domain from the domains in Microsoft Online.

Remove-​Msol​Foreign​Group​From​Role

Removes a security group from a partner tenant.

Remove-​Msol​Group

Removes a group from Azure Active Directory.

Remove-​Msol​Group​Member

Removes a member from a security group.

Remove-​Msol​Role​Member

Removes a member from an administrator role.

Remove-​Msol​Scoped​Role​Member

Removes a user from an administrative unit-scoped role.

Remove-​Msol​Service​Principal

Removes a service principal from Azure Active Directory.

Remove-​Msol​Service​Principal​Credential

Removes a credential key from a service principal.

Remove-​Msol​User

Removes a user from Microsoft Azure Active Directory.

Reset-​Msol​Strong​Authentication​Method​By​Upn

Resets the strong authentication method by using a user principal name.

Restore-​Msol​User

Restores a deleted user.

Set-​Msol​AD​FS​Context

Sets the context and credentials to connect to Microsoft Online and to the Active Directory Federation Services 0.0 server.

Set-​Msol​Administrative​Unit

Updates the properties of an administrative unit.

Set-​Msol​Company​Allowed​Data​Location

Sets an allowed data location for a service type for a company in Azure Active Directory.

Set-​Msol​Company​Contact​Information

Sets company-level contact information.

Set-​Msol​Company​Multi​National​Enabled

Enables the multinational feature for a service type for a company with Azure Active Directory.

Set-​Msol​Company​Security​Compliance​Contact​Information

This cmdlet is not in use by any online service, so please consider it deprecated.

Set-​Msol​Company​Settings

Sets company-level configuration settings.

Set-​Msol​Device​Registration​Service​Policy

Sets the Azure Active Directory device registration service settings.

Set-​Msol​Dir​Sync​Configuration

Modifies the directory synchronization settings.

Set-​Msol​Dir​Sync​Enabled

Turns directory synchronization on or off for a company.

Set-​Msol​Dir​Sync​Feature

Sets identity synchronization features for a tenant.

Set-​Msol​Domain

Modifies settings of a domain.

Set-​Msol​Domain​Authentication

Changes the authentication type of the domain.

Set-​Msol​Domain​Federation​Settings

Updates settings for a federated domain.

Set-​Msol​Group

Updates a security group.

Set-​Msol​Partner​Information

Sets company information for partners.

Set-​Msol​Password​Policy

Updates the password policy of a specified domain or tenant.

Set-​Msol​Service​Principal

Updates a service principal in Microsoft Azure Active Directory.

Set-​Msol​User

Modifies a user in Azure Active Directory.

Set-​Msol​User​License

Updates the license assignment for a user.

Set-​Msol​User​Password

Resets the password for a user.

Set-​Msol​User​Principal​Name

Changes the user ID for a user.

Update-​Msol​Federated​Domain

Updates the settings in both the Active Directory Federation Services 0.0 server and Microsoft Online.

Others

Get-​Msol​All​Setting​Template

Gets all the directory setting templates that a tenant owns.

Get-​Msol​All​Settings

Gets all directory settings object associated with tenant or group/user/service principal/application/device.

Get-​Msol​Setting​Template

Gets a directory setting template.

Get-​Msol​Settings

Gets a directory setting.

New-​Msol​Settings

Creates a directory setting.

Remove-​Msol​Settings

Removes a directory setting.

Set-​Msol​Settings

Updates a directory setting in Azure Active Directory.