Editar

Compartir vía


Enable and Disable Dynamics 365 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. Please note that these steps are not specific to Dynamics 365 Business Central. This procedure will disable self-service subscriptions for any other products and services, as Microsoft Entra ID does not provide tools for blocking signups from specific products. Self-service signups can be re-enabled later.

Disable self-service signups

  1. Start Windows PowerShell as an administrator.

  2. At the command prompt, run the following command to sign in to your Microsoft Entra service. You must provide the credentials of an administrator of the Microsoft 365 service:

    $Msolcred = Get-credential
    
  3. Run the following command to connect to the Microsoft Entra service using the provided credentials:

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

    Set-MsolCompanySettings -AllowAdHocSubscriptions $false 
    

    When the command has completed, 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 see meassage similar to the following:

    Sorry...

    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 see whether self-service signups are enabled or disabled in Microsoft Entra ID, follow the same steps to sign in and connect to your Microsoft Entra service, then run the following command:

Get-MsolCompanyInformation | fl AllowAdHocSubscriptions

See Also

Announcing Microsoft Dynamics 365 Business Central: greater impact with an end-to-end view