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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Retrieving power automate flow logs

(0) ShareShare
ReportReport
Posted on by
Hi All,
My requirement is like every power automate flow has a log created if it fails
so that log failed for which record needs to be displayed under that record anywhere either in section/grid.
I got a approach from internet can anyone help me that below approach will work or not?
 
 
Obtain Power Automate logs using the Management API:
Authenticate and obtain an access token to make requests to the Power Automate Management API. You can use the OAuth 2.0 authentication process to obtain the token.
Use the Management API to retrieve the relevant Power Automate logs. You can query the API to fetch the desired logs based on criteria like flow name, status, timestamp, etc. Retrieve the logs in the desired format, such as JSON.

Export the logs to Dynamics CRM using the Dynamics CRM Web API:
Authenticate and obtain an access token for the Dynamics CRM Web API. Again, you can use the OAuth 2.0 authentication process for this.
Use the Web API to create records in Dynamics CRM. You'll need to construct the appropriate HTTP requests with the necessary headers and payload to create records that correspond to the Power Automate logs.
Map the fields from the Power Automate logs to the corresponding fields in Dynamics CRM. Ensure that the data is correctly transformed and formatted to match the CRM schema.

Automate the process:
Set up a scheduled job or script that performs the above steps at the desired frequency. This ensures that Power Automate logs are regularly exported to Dynamics CRM without manual intervention.
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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 141

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 132

#3
DAnny3211 Profile Picture

DAnny3211 130

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans