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 :
Power Automate - AI Builder
Unanswered

"Forbidden" error

(1) ShareShare
ReportReport
Posted on by 9
Hello,
 
I’m working on a flow using Power Automate that includes multiple approval steps. I’ve structured the flow with loops to send reminders if an approver doesn’t respond within 12 hours. I’m using the "Create an Approval" and "wait for an Approval" action and have set up a timeout to resend the approval request every 12 hours until the approver responds. The process works fine, but I’m facing two challenges:

I want to use the "Update a row" action in Dataverse to cancel any timed-out requests so that they don’t remain visible for the user. However, I keep getting a "Forbidden" error when trying to do this. I’ve double-checked my permissions and access to Dataverse, but the issue persists. Has anyone encountered this before or know how to resolve it?

Since the old approval requests aren’t canceled when the new one is sent, users sometimes respond to the outdated request. When they do, they receive a notification, but nothing actually happens because the system is only tracking the latest approval. This can be confusing for users, and I’d like to ensure that when a new request is sent, the previous one is either canceled or made invalid so that users don’t mistakenly respond to it.

Any guidance or solutions to these issues would be greatly appreciated. Thanks in advance!
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    52,176 Super User 2025 Season 2 on at
    "Forbidden" error
    hi
     
    Please provide the full error information. If need, please switch back to the Old Ui and get it, (turn off new top right corner).
     
    Forbidden is a permission issue, so need to see more information and then can help
  • Expiscornovus Profile Picture
    32,908 Most Valuable Professional on at
    "Forbidden" error
    Can you share a screenshot of the configuration of the Update a row action?
     
    This will help us with troubleshooting and trying to find the root cause of your issue.
  • RayF Profile Picture
    9 on at
    "Forbidden" error
    this is the full error information
    {
        "statusCode": 403,
        "headers": {
            "Cache-Control": "no-cache",
            "Set-Cookie": "ARRAffinity=abaa6163c21b32092ab3a28a96da689cfc6be1b1faba50b064482d697323235a15134d20c556b0b34b9b6ae43ec3f5dcdad61788de889ffc592af7aca85fc1c508DCE786A6BD1C8D2009616191; path=/; secure; HttpOnly,ReqClientId=c38f9abe-bb2f-40e2-9fa6-2025d1780f73; expires=Mon, 08-Oct-2074 10:17:48 GMT; path=/; secure; HttpOnly,ARRAffinity=abaa6163c21b32092ab3a28a96da689cfc6be1b1faba50b064482d697323235a15134d20c556b0b34b9b6ae43ec3f5dcdad61788de889ffc592af7aca85fc1c508DCE786A6BD1C8D2009616191; path=/; secure; HttpOnly",
            "x-ms-service-request-id": "9ef5aa1f-05f0-440a-8b54-1c2c5bcee2f4",
            "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
            "REQ_ID": "9ef5aa1f-05f0-440a-8b54-1c2c5bcee2f4,9ef5aa1f-05f0-440a-8b54-1c2c5bcee2f4",
            "CRM.ServiceId": "CRMAppPool",
            "AuthActivityId": "dc594e9f-d40e-4c9e-8bc9-78771897715c",
            "x-ms-dop-hint": "4",
            "x-ms-ratelimit-time-remaining-xrm-requests": "1,200.00",
            "x-ms-ratelimit-burst-remaining-xrm-requests": "7999",
            "OData-Version": "4.0",
            "X-Source": "112131632099304993187239432194623490142232701841012306824717281781559115711016287,112131632099304993187239432194623490142232701841012306824717281781559115711016287",
            "Public": "OPTIONS,GET,HEAD,POST",
            "Date": "Tue, 08 Oct 2024 10:17:48 GMT",
            "Allow": "OPTIONS,GET,HEAD,POST",
            "Content-Type": "application/json; odata.metadata=full",
            "Expires": "-1",
            "Content-Length": "1713"
        },
        "body": {
            "error": {
                "code": "0x80040220",
                "message": "Principal user (Id=3a244ebd-e45e-ef11-bfe2-000d3a47ded7, type=8, roleCount=6, privilegeCount=1502, accessMode='0 Read-Write', AADObjectId='29d03b57-68c1-4568-9af5-f952ba1a9482', MetadataCachePrivilegesCount=5294, businessUnitId=9e811168-6773-eb11-b1ab-000d3a4aafaf), is missing prvWritemsdyn_flow_approval privilege (Id=6f444e41-eabf-4e18-ad94-83219ebf4efb) on OTC=10087 for entity 'msdyn_flow_approval' (LocalizedName='Approval'). context.Caller=3a244ebd-e45e-ef11-bfe2-000d3a47ded7. Consider adding missed privilege to one of the principal (user/team) roles.",
                "@Microsoft.PowerApps.CDS.ErrorDetails.0": "prvWritemsdyn_flow_approval",
                "@Microsoft.PowerApps.CDS.ErrorDetails.1": "Approval",
                "@Microsoft.PowerApps.CDS.ErrorDetails.2": "user",
                "@Microsoft.PowerApps.CDS.ErrorDetails.3": "3a244ebd-e45e-ef11-bfe2-000d3a47ded7",
                "@Microsoft.PowerApps.CDS.ErrorDetails.4": "10087",
                "@Microsoft.PowerApps.CDS.ErrorDetails.5": "Caller",
                "@Microsoft.PowerApps.CDS.HelpLink": "http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040220&client=platform",
                "@Microsoft.PowerApps.CDS.InnerError.Message": "Principal user (Id=3a244ebd-e45e-ef11-bfe2-000d3a47ded7, type=8, roleCount=6, privilegeCount=1502, accessMode='0 Read-Write', AADObjectId='29d03b57-68c1-4568-9af5-f952ba1a9482', MetadataCachePrivilegesCount=5294, businessUnitId=9e811168-6773-eb11-b1ab-000d3a4aafaf), is missing prvWritemsdyn_flow_approval privilege (Id=6f444e41-eabf-4e18-ad94-83219ebf4efb) on OTC=10087 for entity 'msdyn_flow_approval' (LocalizedName='Approval'). context.Caller=3a244ebd-e45e-ef11-bfe2-000d3a47ded7. Consider adding missed privilege to one of the principal (user/team) roles."
            }
        }
    }
  • RayF Profile Picture
    9 on at
    "Forbidden" error
    And this is the configuration of the update a row action
     

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard