If you are a Microsoft Dynamics 365 Online system administrator, you probably know that initial Dynamics 365 user setup is performed in the Office 365 portal and then configured within Dynamics 365. But you may not know that you can use the Security Groups feature in the Office 365 Portal to enable or disable Dynamics 365 access to custom groups of users you can create.
This feature can be useful for different scenarios, including:
- Limiting access for development or testing in non-production Dynamics 365 Online instances
- Restricting access to the Dynamics 365 Online production environment to system administrators only when importing a new solution set or other system maintenance
- Creating special groups for sales, service, or other business groups for more organized users management
There is actually a default security group that is pre-configured for Office 365 called System Administrators. This group includes all Office 365 users with global administrator rights.
Here’s how it works. You must have global administrator rights in the Office 365 Portal. If you do, log in to the Office 365 Portal with your credentials to the home page. Once logged in, do the following:
1. On the home page, navigate to Admin Center ❶ (Enlarge the menu on the left side) and select “Groups – Active Groups” ❷
on the navigation menu on the left side of the page.
2. This will take you to the Groups list. Navigate to the “Security“-tab, which will take you to the Security Groups management pages.
3. Left click on the [+ Add a group]-button to create a new group. This will open up a new window where you can enter your new security group name.
To create the group, begin with “Choose a group type” like in this case “Security”. Press the [Next]-button.
Enter a name for the group and add a description if you like. Press the [Next]-button.
The “Finish“-section opens. Make a review if everything is fine for you, then press the [Create group]-button.
This “New group created”-site opens. Press the [Close]-button.
Now all groups are shown. Select the prepared group like in this case “TestUsers”. Press [Done] and [Save]. As long as the users in your group are licensed for Dynamics 365, access to your Dynamics 365 will be restricted to the users in the security group. Other licensed users inside of Dynamics 365 that are not in the security group will be disabled. To restore access, simply go back to the “Power Platform admin center” for that instance and clear the group name from the security settings.