Hello,
I'm hoping someone can help!
I have used an HTTP request to create a Private Channel in Teams and make myself an owner, using OAuth authentication. This works.
I would like to add another owner to this channel so have triggered another HTTP call:
But this returns: "InvalidAuthenticationToken", "Access token is empty.",
I believe you have to set the Headers to:
Authorization: Bearer {Token}
But how can I get this token?
I have tried a POST:
'https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token'
With body:
client_id=xxx
&username=xxx
&password=xxx
&scope=user.read%20openid%20profile%20offline_access
&grant_type=password
But continually getting errors so must be missing something!
Any help would be much appreciated.
Thanks
Hi Carl,
here is my configuration.
under the red stripe should put you Tenant ID.
The other fields into the HTTP Request's body represents exactly: your tenant ID, you Client ID (APP registration ID) and the related secret key (app registration secret key - from AAD)
hope it's helpful for you.
Andi
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
63 | |
27 | |
21 | |
15 | |
13 |
User | Count |
---|---|
123 | |
46 | |
43 | |
35 | |
31 |