web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating a connection ...
Power Automate
Unanswered

Creating a connection to Excel Business Online unsuccesful when done within a power automate flow

(0) ShareShare
ReportReport
Posted on by 12
Hello everyone, 
I am trying to create a connection to Excel Business Online connector using the "Create Connection" action in Power Automate. 
Here's my setup :
I have an app registration in Azure that has the following API permissions : 
user_impersonation
User.Read
 
I generated my token as follows using the tenant_id,client_id and client_secret associated with my app registration 
 
curl -X POST https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token \bf56}/oauth2/v2.0/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "client_id={client_id}" \
-d "scope=https://graph.microsoft.com/.default" \
-d "client_secret=secret" \
-d "grant_type=client_credentials"
 
While the Power Automate action does not fail and creates the connection, it remains unconnected, Here's the ouptut trace showing that something went off with bearer token authentication : 
 
{
"status": "Error",
"target": "Token",
"error": {
"code": "Unauthenticated",
"message": "This connection is not authenticated."
}
 
Any idea on how to fix this and possibly efficiently test this?
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard