背景
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}'."
}
}
概要
- Run-Only Users は諦めて、上位権限である、Ownerを一時的に与える。
- 続けて、Owner権限を削除する。
実際のフロー
削除された権限
補足
- Instant属性のフローは Run-Only Users に User/Group を追加することで、他者と共有できます。
- この機能を使って他者に自動共有・解除をしようとした際に嵌った際の対策です。
powerusers 上で回答した内容
keyword
how to remove Run-Only users
一瞬Owner権限を与えるのが問題になるケースが若しかしたらあるかもなので、利用時にはご注意を🤔