Creating a New User in the Office 365 Portal

To monitor Microsoft Office 365 and its cloud-based service offerings such as SharePoint Online, Exchange Online, OneDrive for Business, Microsoft Teams, Microsoft Yammer etc., the eG agent has to be configured with the credentials of a user who has been assigned specific privileges. These privileges vary with the service being monitored - i.e., eG monitoring model in use.

The table below describes these privileges:

Monitoring model

Permissions

Microsoft Office 365

A user who is vested with the View-Only Audit Logs permission

Microsoft Exchange Online

A user who is vested with the View-Only Audit Logs, View-Only Recipients, Mail Recipients, and Mailbox Import Export permissions.

Microsoft SharePoint Online and Microsoft OneDrive for Business

A user who has been assigned the Service support admin and SharePoint admin roles and is vested with the View-Only Audit Logs permission

Microsoft Teams

A user who has been assigned the Service support admin role and is vested with the View-Only Audit Logs and Team Administrator permissions

Microsoft Yammer

A user who has been assigned the Service support admin role and is vested with the user_impersonation 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 447 will then appear.

    Welcome Page of O365 Portal

    Figure 447 : Welcome page of the Office 365 portal

  1. Click on Admin under Apps (in Figure 447). The Microsoft Office 365 Admin Center will then appear (see Figure 448).

    Microsoft O365 Admin Center

    Figure 448 : The Microsoft Office 365 Admin Center

  2. To create a new user, click on the Add a user link under the Active users section in Figure 448.
  3. Figure 449 will then appear.

    Adding New User

    Figure 449 : Adding a new user

  4. 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.

    Choose location of User

    Figure 450 : Choosing the geographic location of the new user

  5. Then, select the geographic Location of the new user. Turn On the Create user without product license flag in Figure 450.
  6. Clicking the Next button in Figure 450 will reveal Figure 451. Here, select the Admin center access option, and choose the Service support admin and SharePoint admin permissions as indicated by Figure 451.

    Figure 451 : Selecting the Admin center access

  7. Click the Next button in Figure 451 to review your selection which appears in Figure 452.

    Review Selection

    Figure 452 : Reviewing your selection

  8. Finally, click the Finish adding button in Figure 452 to add the new user. Figure 453 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 453, as this is what you need to configure against the OFFICE 365 USER and OFFICE 365 PASSWORD parameters of the eG tests.

    Confirmation Message

    Figure 453 : Message confirming the successful addition of a user

    Note:

     

    Check if the Password displayed in Figure 453 contains double quotes. If it does, then remember to change the password before attempting to pass these credentials to eG tests. If this is not done, then some eG tests may fail to report metrics.

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

    Connecting to Exchange Admin Center

    Figure 454 : Connecting to the Exchange Admin Center

  10. Figure 455 will then appear.

    Exchange Admin Center

    Figure 455 : The Exchange Admin Center

  11. From the list of options in the left panel of Figure 455, select Roles. Figure 456 will then appear listing the Admin roles that pre-exist.

    View Admin Roles

    Figure 456 : Clicking on the Roles option to view the Admin roles

  12. Let us now proceed to create a role group that includes the View-Only Audit Logs permission. For that, click on the Add role group button in Figure 456. Figure 457 will then appear.

    Add New Role Group

    Figure 457 : Adding a new role group

  13. Provide a unique Name and Description for the new role group (see Figure 457). Then, click on the Next button in Figure 457. Figure 458 will then appear listing the permissions that you want to add to the new role group. From this list, select the View-Only Audit Logs permission and click the Nextbutton to add the permission.

    Add Permission to Role

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

  14. Figure 459 will then appear. Next, proceed to assign the new role group (that includes the View-Only Audit Logs permission) to the user you created previously for monitoring purposes. For that, enter the display name of that user in the text box you see in Figure 459. Then, click the Next button to proceed.

    Assign User to New Role Group

    Figure 459 : Specifying the name of the user to whom the new role group has to be assigned

  15. Figure 460 will then appear. Quickly review the specifications of the role group using Figure 460, and finally click the Add role group button therein to save the specifications.

    Review Role Group

    Figure 460 : Assigning the role group to a user

Assign other permissions to the newly added user by repeating steps 12 - 18 above.