Enable and disable Business Central self-service signups

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Administrators for a Microsoft 365 tenant might not want their users to sign up for the Dynamics 365 Business Central service without their awareness. You can complete the following procedure in Microsoft Entra ID to block individual user signups.

To complete this procedure, you must install and use Microsoft Entra ID cmdlets. For a list of MSOnline cmdlets that are available for Microsoft Entra ID using Windows PowerShell, see MSOnline.

PowerShell commands can be used with Microsoft Entra ID to disable adhoc (self-service) subscriptions.

Note

These steps aren't specific to Dynamics 365 Business Central. This procedure disables self-service subscriptions for any other products and services. Microsoft Entra ID doesn't provide tools for blocking signups from specific products. You can reenable self-service signupslater.

Disable self-service signups

  1. Start Windows PowerShell as an administrator.

  2. At the command prompt, run the following command to import the PowerShellGet module:

    Import-Module PowerShellGet
    
  3. Run the following command to connect to the Microsoft Entra service. You must provide your user name and password for managing the Microsoft Entra tenant.

    Connect-MsolService
    
  4. Run the following command to disable self-service signups:

    Set-MsolCompanySettings -AllowAdHocSubscriptions $false 
    

    When the command completes, self-service signups are disabled for your Microsoft Entra ID. Users who try to sign up for Dynamics 365 Business Central or any other self-service products get a message similar to:

    We can't finish signing you up.

    Your IT department has turned off signup for Dynamics 365 Business Central. Contact them to complete signup.

Enable self-service signups

To enable self-service signups, follow the same steps to sign in and connect to your Microsoft Entra service, and then run the following command:

Set-MsolCompanySettings -AllowAdHocSubscriptions $true 

Verify whether signups are enabled or disabled

To check whether self-service signups are enabled in Microsoft Entra ID, follow the same steps to sign in and connect to the Microsoft Entra service. Then run the following command:

Get-MsolCompanyInformation | fl AllowAdHocSubscriptions

Administration of Business Central Online