zoukankan      html  css  js  c++  java
  • 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
    Code: 0x80040299
    InnerError: '.'. The tracking Id is 'GUID'."
          }
        }
      }
    }
  • 相关阅读:
    网络编程(四)
    网络编程(三)
    网络编程(二)
    网络编程(一)
    异常处理
    Python 的名称空间和作用域
    如何在Java 8中愉快地处理日期和时间
    线段树入门整理、
    最小生成树prim、
    <climits>头文件
  • 原文地址:https://www.cnblogs.com/TheMiao/p/14396405.html
Copyright © 2011-2022 走看看