Giter VIP home page Giter VIP logo

Comments (3)

janegilring avatar janegilring commented on June 17, 2024

@dalemagna Hi, could you run the following from Azure CLI (either from your local machine or from Cloud Shell) to determine the RBAC permissions assigned to the service principal used by the deployment?

  1. Retrieve object ID for your deployment SPN
    az ad sp list --filter "appId eq 'f70cd6ff-a098-4383-9ea6-036a24a1464d'"

  2. Retrieve the subscription RBAC assignments for the SPN on the subscription scope
    az role assignment list --scope /subscriptions/5d3ddfde-0c18-468c-8563-a74d7aa56a1b--assignee <insert-id>

Expected output is similar to this:

[
  {
    "condition": null,
    "conditionVersion": null,
    "createdBy": "af606f84-8942-408c-9a52-4b478a693b18",
    "createdOn": "2022-12-27T15:27:48.400727+00:00",
    "delegatedManagedIdentityResourceId": null,
    "description": null,
    "id": "/subscriptions/87b8def0-f5cf-402e-a8db-10e0ee958565/providers/Microsoft.Authorization/roleAssignments/27a7589f-4ad0-4bae-9981-440ffd081091",
    "name": "27a7589f-4ad0-4bae-9981-440ffd081091",
    "principalId": "b3f148d2-c92b-43d6-afe4-89ec76277630",
    "principalName": "545e3c87-82b6-4658-948f-52974b28aa50",
    "principalType": "ServicePrincipal",
    "roleDefinitionId": "/subscriptions/87b8def0-f5cf-402e-a8db-10e0ee958565/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
    "roleDefinitionName": "Owner",
    "scope": "/subscriptions/87b8def0-f5cf-402e-a8db-10e0ee958565",
    "type": "Microsoft.Authorization/roleAssignments",
    "updatedBy": "af606f84-8942-408c-9a52-4b478a693b18",
    "updatedOn": "2022-12-27T15:27:48.400727+00:00"
  }
]

from azure_arc.

janegilring avatar janegilring commented on June 17, 2024

@dalemagna Any updates from your side?

from azure_arc.

likamrat avatar likamrat commented on June 17, 2024

Closing this for now. @dalemagna please feel free to comment if you need further assistant

from azure_arc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.