cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
poweruser0211
New Member

When updating Process Logs - Bad Request

Hi All,

 

I have created a business process flow which is integrated to model driven app in which user need to trigger a power automate flow to send an approval email. When I trigger the flow In order to update the status of the power automate workflow in Business Process Flow(BPF) I'm trying to update the 'Process Logs' Entity as the last action. This all process is working fine for the admin role but when I'm changing the role to normal role and triggering the last step fails i.e (update the record in the process logs status as succeeded )

 

Error In the Workflow:

 

--batchresponse_82c740ed-78a6-49a8-ae6c-71d36cd6f39c
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 400 Bad Request
REQ_ID: 7b7a6589-53d7-4ce4-b4be-e31a13e5d2e8
Content-Type: application/json; odata.metadata=minimal
OData-Version: 4.0

{"error":{"code":"0x80040530","message":"Unable to retrieve attribute=ownerid for entityLogicalName=asyncoperation. Entity has Attribute Count=2. AttributeNames= status, workflowlogid"}}
--batchresponse_82c740ed-78a6-49a8-ae6c-71d36cd6f39c--

 

 

Could anyone please help me or provide any work around?

 

Thank you!

1 REPLY 1
abm
Super User
Super User

Hi

 

Looks like its a permission issue for me. So for updating the process logs can't you use an integration account?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,064)