Creating a New User in the Office 365 Portal

To monitor OneDrive for Business, the eG agent has to be configured with the credentials of a user who has been assigned the Service support admin and SharePoint admin roles and is vested with the View-Only Audit Logs permission. While you can use the credentials of any existing O365 user with the aforesaid privileges, it is recommended that you create a special user for monitoring purposes using the Office 365 portal and pass the credentials of that user to the eG agent. To create a new user using the Office 365 portal and assign the required privileges to that user, follow the steps detailed below:

  1. Using a browser, connect to the Office 365 portal. The default URL of the portal is: https://portal.office.com
  2. Login to the portal as a user with administrator privileges.
  3. Figure 204 will then appear.

    Welcome page of the Office 365 portal

    Figure 204 : Welcome page of the Office 365 portal

  4. Click on Admin under Apps (in Figure 204). The Microsoft Office 365 Admin Center will then appear (see Figure 205).

    Microsoft Office 365 Admin Center

    Figure 205 : The Microsoft Office 365 Admin Center

  5. To create a new user, click on the Add a user link under the Active users section in Figure 205.
  6. Figure 206 will then appear.

    Adding a new user

    Figure 206 : Adding a new user

  7. Provide the First name, Last name, and Display name of the new user. Then, provide a Username, which will be automatically suffixed with the domain name of the Domain you have logged into. Click the Next button to select the geographic location of the new user.

     Selecting a geographic location of the new user

    Figure 207 : Choosing the geographic location of the new user

  8. Then, select the geographic Location of the new user. Turn On the Create user without product license flag in Figure 207.
  9. Clicking the Next button in Figure 207 will reveal Figure 208. Here, select the Admin center access option.

    Selecting Admin center access

    Figure 208 : Selecting the Admin center access

  10. For the purpose of monitoring, the new user should be assigned the Service support admin role and the SharePoint admin. Select these roles from Figure 208.

  11. Click the Next button in Figure 208 to review your selection which appears in Figure 209.

    Review of selection

    Figure 209 : Reviewing your selection

  12. Finally, click the Finish adding button in Figure 209 to add the new user. Figure 210 will then appear providing a quick summary of details of the user you just created. Office 365 also automatically generates and assigns a password to the new user. Make a note of the Username and Password displayed in Figure 210, as this is what you need to configure against the O365 USER name and O365 PASSWORD parameters of the eG tests.

    Message confirmation for user addition

    Figure 210 : Message confirming the successful addition of a user

  13. Next, proceed to assign the View-Only Audit Logs permission to the new user. For that, first click on the Admin Center tool in the tool bar depicted by Figure 211. From the menu that pops up, click on Exchange.

    Connection to Exchange Admin Center

    Figure 211 : Connecting to the Exchange Admin Center

  14. Figure 212 will then appear.

     Exchange Admin Center

    Figure 212 : The Exchange Admin Center

  15. From the list of options in the left panel of Figure 212, select permissions. Figure 213 will then appear listing the admin role groups that pre-exist.

    Permissions option to view the admin role groups

    Figure 213 : Clicking on the permissions option to view the admin role groups

  16. Let us now proceed to create a role group that includes the View-Only Audit Logs permission. For that, click on the button on top of the list of admin role groups (see Figure 213). Figure 214 will then appear.

    Adding a new role group

    Figure 214 : Adding a new role group

  17. Provide a unique Name and Description for the new role group (see Figure 214). Then, click on the button in the Roles section of Figure 214. Figure 215 will then appear listing the DISPLAY NAMEs of permissions that you want to add to the new role. From this list, select the View-Only Audit Logs permission and click the add -> button to add the permission. Then, click OK to save the changes.

    Adding View-Only Audit Logs permission to new role

    Figure 215 : Adding the View-Only Audit Logs permission to the new role

  18. Figure 216 will then appear. Next, proceed to assign the new role group (that includes the three permissions) to the user you created previously. For that, click on the button in the Members section of Figure 216.

    Mmembers section in New role group

    Figure 216 : Clicking on the '+' icon in the Members section

  19. Figure 217 will then appear. From the list of user names displayed in Figure 217, select the name of the user you created for monitoring purposes and click the add -> button. Then, click OK.

    Assigning the role group to a user

    Figure 217 : Assigning the role group to a user

  20. When Figure 218 appears, click the Save button to save the new role group definition.

    Saving the new role group

    Figure 218 : Saving the new role group