Following dependencies are required for developing Chat Export Messaging Extension for MS Teams:
- Node.js and Npm.
- Ngrok (recommended) or equivalent tunneling solution.
- Microsoft 365 Developer Account with custom app uploading policy.
- Azure Subscription with Bot Services and Active Directory privileges.
- A code editor.
** If you already have all of these dependencies covered, please feel free to skip this section.
Download and install Node.js based on your operating system.
- You can check the Node.js installation using
node -v
command in your terminal. - You can check the npm version using
npm -v
command in your terminal.
Download and install ngrok tunneling solution based on your operating system.
- You can check ngrok installation using
ngrok
command in your terminal.
Create a free Microsoft M365 developer trial account following instructions in this guide.
-
Click on Join Now button.
-
Enter your email and password, and provide required details in the next few steps.
-
After entering required details, you can see a prompt to setup Microsoft 365 E5 sandbox (or open the prompt using "Set up E5 subscription" button). Select "Instant sandbox" and click on "Next" button.
-
Create an admin username and password. Click on "Continue" button and enter a phone number for security in the next step.
-
Once all the steps are completed, you can see the E5 subscription dashboard as follows. You can view the subscription by clicking on "Go to subscription".
-
After setting up E5 sandbox, you can visit Microsoft 365 Admin Center, and goto "Teams Admin Center" from the side menu.
-
In the Teams Admin Center, you can verify that the custom app uploading is allowed.
Important: Bot Services and Active Directory(AD) privileges are required to complete the following steps. These privileges could be limited to your organization or your account. You may use Azure Free Trial, which may also limit the privileges or the OAuth2 connection from your personal AD to your organization's AD. For more details, contact the Azure administrator of your organization.
-
To obtain required privileges, you can sign up to the azure free trial using the Microsoft 365 developer account created in the previous step.
-
After the successful Azure setup, you can see the Azure portal landing page as follows.
You can verify the access to Azure Bot Services and app registrations in Azure Active Directory.
Note: If you are using an existing Azure subscrition, please verify if you have access to Bot Services and Azure Active Directory with app registration privileges.
Download and install Visual Studio Code (recommended) depending upon your operating system.