Skip to content

[Question]: Can i specify AUTHCONTEXT on organizational level and deploy to different tenants in underlying repos? #1612

Answered by freddydk
SimonBFrandsen asked this question in Q&A
Discussion options

You must be logged in to vote

No, the tenant ID is part of the AUTHCONTEXT, and that is by design.

Security wise, having one AAD App having access to deploy to multiple environments is a bad design. I get it that it is easier DevOps wise, but I would not do or recommend that.

It is OK to have one AUTHCONTEXT secret to provide access to multiple environments in the same tenant, which is one of the reasons behind the design.

Our recommendation for Per Tenant Extensions is that these are created in an organization owned by the customer with the partner as a collaborator - in this case, one AUTHCONTEXT secret in that organization would have access to all environments owned by the customer. That secret could be available t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by freddydk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested Fix Ready Fix Ready
2 participants
Converted from issue

This discussion was converted from issue #1505 on March 28, 2025 17:50.