Forum Discussion
Coolhost
Oct 18, 2023Copper Contributor
Service principle needs JIT access for running AzureDevOps Pipeline through PIM
How to enable service principle just in time access (PIM).
Need to run the Azure Devops yaml pipeline with the help of service principle using just in time access (PIM).
- LeonPavesicSilver Contributor
Hi Coolhost,
To enable service principal just-in-time access (PIM) for running Azure DevOps Pipeline through PIM, follow these steps:
- Create a security group in Azure Active Directory (Azure AD) and add the service principal to the group.
- Enable PIM for the security group.
- Assign the service principal to the appropriate Azure DevOps role in the pipeline.
- Configure PIM for the Azure DevOps role.
To run the Azure DevOps YAML pipeline with the help of service principle using just-in-time access (PIM), follow these steps:
- Create a pipeline in Azure DevOps and add the service principal as a member of the pipeline.
- Configure the pipeline to run using the service principal.
- When the pipeline needs to be run, the service principal will need to request activation of the Azure DevOps role.
- Once the activation is approved, the service principal will be able to run the pipeline.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)