In order to configure the OfficeExpert simulation bots you will need to provide the following information:

  • Tenant ID
  • Application ID of Azure Active Directory application (see below)
  • (FQDN of OfficeExpert appliance, which will be configured during setup, see Starting the Virtual Appliance)
  • an O365 User account with the necessary apps/subscription (E1,E3....)

An Azure Active Directory application for BOTs is required which needs to be registered as follows:

  1. Open aad.portal.azure.com (login as a global admin) and click on Appregistrations


  2. Click on New application registration, complete the fields as shown in the second screenshot below and click on Create

    In the following screen, please enter the following "Redirect URI": https://OfficeExpert



  3. After the creation, click on Authentication and scroll to Advanced settings. Click on Yes to treat application as a public client.


  4. Click on Manifest and adjust the section requiredResourceAccess
    Select the blue selected lines in the screenshot.......


and overwrite it with the following lines...

    "requiredResourceAccess": [
        {
            "resourceAppId": "00000004-0000-0ff1-ce00-000000000000",
            "resourceAccess": [
                {
                    "id": "44e84b5a-52a3-4b41-975c-6c960414004a",
                    "type": "Scope"
                },
                {
                    "id": "d0c8f2ea-8f80-4289-8e78-4bc821cde1bc",
                    "type": "Scope"
                },
                {
                    "id": "208afe8f-9dfa-4f72-a755-6b810d61f42f",
                    "type": "Scope"
                },
                {
                    "id": "4d48dea7-b534-4bca-9d76-5f8a7a8edae8",
                    "type": "Scope"
                },
                {
                    "id": "5bdeff8b-73d9-4b8a-9e9b-d44c6105f9b4",
                    "type": "Scope"
                }
            ]
        },
        {
            "resourceAppId": "00000003-0000-0ff1-ce00-000000000000",
            "resourceAccess": [
                {
                    "id": "1002502a-9a71-4426-8551-69ab83452fab",
                    "type": "Scope"
                },
                {
                    "id": "4e0d77b0-96ba-4398-af14-3baa780278f4",
                    "type": "Scope"
                },
                {
                    "id": "b3f70a70-8a4b-4f95-9573-d71c496a53f4",
                    "type": "Scope"
                },
                {
                    "id": "2cfdc887-d7b4-4798-9b33-3d98d6b95dd2",
                    "type": "Scope"
                }
            ]
        },
        {
            "resourceAppId": "00000002-0000-0ff1-ce00-000000000000",
            "resourceAccess": [
                {
                    "id": "3b5f3d61-589b-4a3c-a359-5dd4b5ee5bd5",
                    "type": "Scope"
                },
                {
                    "id": "75767999-c7a8-481e-a6b4-19458e0b30a5",
                    "type": "Scope"
                },
                {
                    "id": "5eb43c10-865a-4259-960a-83946678f8dd",
                    "type": "Scope"
                },
                {
                    "id": "765f423e-b55d-412e-97e3-13a800c3a537",
                    "type": "Scope"
                },
                {
                    "id": "6223a6d3-53ef-4f8f-982a-895b39483c61",
                    "type": "Scope"
                }
            ]
        }
    ],
  1. Click on API Permission. You  should then see this list.



  2. Finally, click on GrantPermissions


  3. Write down the Application ID which will be needed to configure OfficeExpert bots (see Bot Configuration - "Coreinfo" Section).