Power Automate Approval 功能初始化失敗


最近新創建了一個sandbox, 想使用power automate中的approval做審批功能.

但是新環境下一直初始化失敗. 並且有以下報錯. 最后發現power automate中的審批是使用的environment中一個額外的叫MicrosoftFlowCDSIntegrationService 的用戶來處理. 並且這個用戶是需要approval administrator這個security role.  但是approval administrator的security role default狀態下是沒有system job的權限. 所以導致了以下的報錯.

我們只需要給最低read only權限即可.

{
  "error": {
    "code": 502,
    "source": "asia-001.azure-apim.net",
    "clientRequestId": "GUID",
    "message": "BadGateway",
    "innerError": {
      "error": {
        "code": "XrmApiServerError",
        "message": "Request to XRM API failed with server error: 'The cache request to assign a role failed with status code 'BadRequest' and message: 'Message: Principal user (Id=GUID, type=8, roleCount=1, privilegeCount=94, accessMode=4), is missing prvReadAsyncOperation privilege (Id=GUID) on OTC=4700 for entity 'asyncoperation'. context.Caller=GUID\nCode: 0x80040299\nInnerError: '.'. The tracking Id is 'GUID'."
      }
    }
  }
}

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM