英文:
Getting below authentication error while connecting outlook.com /360 through the logic apps already have the contributor access
问题
无法为连接 ID '/subscriptions/xxx/resourceGroups/test/providers/Microsoft.Web/connections/outlook' 创建连接。
客户端 'xxx@xxx.xxx' 的对象 ID 为 'xxx',无权执行操作 'Microsoft.Web/connections/write',因为作用域 '/subscriptions/xxxxx/resourceGroups/test/providers/Microsoft.Web/connections/outlook' 无效或不具备授权。
如果最近已授予访问权限,请刷新您的凭据。
尝试通过逻辑应用连接 Outlook,以触发邮件任务,但作业失败了。
英文:
> Failed to create connection for connection id '/subscriptions/xxx/resourceGroups/test/providers/Microsoft.Web/connections/outlook'.
>
>The client 'xxx@xxx.xxx' with object id 'xxx' does not have authorization to perform action 'Microsoft.Web/connections/write'over scope '/subscriptions/xxxxx/resourceGroups/test/providers/Microsoft.Web/connections/outlook' or the scope is invalid.
>
>If access was recently granted, please refresh your credentials.
Trying to connect the Outlook through the logic apps, for the mail trigger when the job failed.
答案1
得分: 0
如果在资源组中的逻辑应用中使用Office 365连接器并已登录,请确保在资源组或订阅级别添加逻辑应用参与者/贡献者权限。检查角色是否仅分配给逻辑应用级别。然后将其分配给更大的范围。
访问控制(IAM)> +添加
添加角色分配> 从特权权限中选择Contrubutor。如果需要,稍后还可以选择逻辑应用参与者。
然后选择要分配的资源> 逻辑应用和用户。
还要检查以下内容:
参考资料:
英文:
If using Office 365 connecter in the logic app in your resource group and logged in
Make sure to add Logic App Contributor/ contributor permission at resource group or subscription level.
Check if the role is assigned at only logic app level.
And assign it to larger scope
Accesscontrol(IAM)> +Add
Add role assignment> Select Contrubutor from Privileged permissions.
and later also select Logic app contributor if needed.
and select the resource to assigned> logic app and the user .
References:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论