Skip to content

[Feature Request]: Automate fetching the deployment service principal(s) enterprise app object id #1605

Closed

Description

Description

Automate fetching the deployment service principal(s) enterprise app object id

This could render the deployment_sp_id obsolete

Activity

  1. MariusStorhaug commented on Jun 26, 2022

    @MariusStorhaug
    ContributorAuthor

    This should be as easy as:

    $Context = Get-AzContext
    $ApplicationId = $Context.Account.Id
    $SPN = Get-AzADServicePrincipal -ApplicationId $ApplicationId
    $SPNObjectID = $SPN.Id
  2. changed the title [-][Feature Request]: Check if the deployment service principal(s) can get its own enterprise app object id[/-] [+][Feature Request]: Automate fetching the deployment service principal(s) object id[/+] on Jun 26, 2022
  3. changed the title [-][Feature Request]: Automate fetching the deployment service principal(s) object id[/-] [+][Feature Request]: Automate fetching the deployment service principal(s) enterprise app object id[/+] on Jun 26, 2022
  4. MariusStorhaug commented on Jun 26, 2022

    @MariusStorhaug
    ContributorAuthor

    I am creating a POC for this with the wider changes to OIDC and mulit env approach.

  5. MariusStorhaug commented on Jun 27, 2022

    @MariusStorhaug
    ContributorAuthor

    Update: Not adding it to the #1608 PR. Based on discussion with Ahmad Abdalla (@ahmadabdalla) it might be better to add this to the settings/var/token story.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions