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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

When updating Process Logs - Bad Request

(0) ShareShare
ReportReport
Posted on by 8

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!

I have the same question (0)
  • Power Platform Communities Profile Picture
    8 on at

    Hi

     

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

     

    Thanks

  • Kessi Profile Picture
    5 on at

    I also have this issue. Any ideas? It seems like a missing permission in the security role. Admin can do this and normal app user cannot.

    Which security role permission gives the user access to read/write/append the workflow process logs?

  • Power Platform Communities Profile Picture
    8 on at

    So I am having the same issue. If we make the account a systemadmin the individual can run the flow without issue, however as soon as they aren't a system admin it errors out with the same error code. But I can't even locate where the entity lives workflowlogid to look at permissions for it. Is there any help as far as assigning permissions for that specific entity and where to find and how to do it?

     

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans