LoginSignup
0
0

More than 1 year has passed since last update.

Automate の実行権限削除(Run Only User) 方法

Last updated at Posted at 2021-06-27

背景

modify-run-only-users のコネクターを使って、ユーザー削除ができなかったので、対処法を調査した記録

Remove を利用してみると、以下のエラーが出る。

エラーの内容
{
  "error": {
    "code": "AzureResourceManagerRequestFailed",
    "message": "Request to Azure Resource Manager failed with error: '{\"Code\":\"NotFound\",\"Message\":\"Cannot find connection acl with name users.\",\"Target\":null,\"Details\":[{\"Message\":\"Cannot find connection acl with name users.\"},{\"Code\":\"NotFound\"},{\"ErrorEntity\":{\"ExtendedCode\":\"14010\",\"MessageTemplate\":\"Cannot find connection acl with name {0}.\",\"Parameters\":[\"users\"],\"Code\":\"NotFound\",\"Message\":\"Cannot find connection acl with name users.\"}}],\"Innererror\":null}'."
  }
}

概要

  1. Run-Only Users は諦めて、上位権限である、Ownerを一時的に与える。
  2. 続けて、Owner権限を削除する。

実際のフロー

image.png

削除された権限

image.png

補足

  • Instant属性のフローは Run-Only Users に User/Group を追加することで、他者と共有できます。 image.png
  • この機能を使って他者に自動共有・解除をしようとした際に嵌った際の対策です。

powerusers 上で回答した内容

keyword

how to remove Run-Only users

一瞬Owner権限を与えるのが問題になるケースが若しかしたらあるかもなので、利用時にはご注意を🤔

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0