- G-1
- Power Automate Per User Plan
- Graph API
-
Create a Registered Application in Azure AD
a. Sign into Azure and connect to the Azure AD tenant.
b. On the left menu, select App registrations.
c. Click
+ New Registration
.d. .
b. Select Certificates & secrets from the left menu.
c. Click
+ New Client Secret
.d. Provide a Description and appropriate Expiry. If you select 1 or 2 years, the directory credential must be refreshed with a new client secret on the anniversary of its creation.
e. Click
Add
. -
Copy the Azure AD Client Secret
a. Copy the client secret and store it in a safe place. It is required when for the Power Automate to run.
b. This is the only time this client secret value is displayed.
-
Azure AD - Add API Permission to ServiceMessage.Read.All
a. Select Microsoft Graph, Application Permissions.
b. Search for “ServiceMessage.Read.All”.
c. Select and Click
Add permissions
. -
Azure AD - Grant Admin Consent for User and Group ServiceMessage.Read.All
a. Click
Grant Admin Consent
to give consent to the app to have those permissions you just added.b. Click
Yes
to confirm. -
Retrieve Application and Directory IDs
a. Your registered app is now created, has a client secret, and has API permissions assigned. Select
Overview
from the left menu and copy theApplication (client) ID
and theDirectory (tenant) ID
. Store these in a safe place as these are required to populate the Power Automate variables. -
Import the Solution in the Appropriate Environment in Your Tenant
-
Update the Environment Variables with Your Saved Values During the Import of Solution
a.
MC2TeamsTenant ID
– Tenant IDb.
MC2TeamsClientID
- Application IDc.
MC2TeamsSecret
– App Secret -
After import, open the flow and change the Teams settings as specified for the Team and Channel.