Skip to content

Commit 2544337

Browse files
author
RoseHJM
committed
WIP
1 parent 7d7f17e commit 2544337

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

articles/dev-box/how-to-customizations-connect-resource-repository.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,22 @@ tasks:
144144
This setup allows automated, secure access to Azure resources during Dev Box provisioning, without exposing credentials in the script.
145145

146146
### Example: Download an artifact from Azure DevOps
147+
You can also download build artifacts from Azure DevOps (ADO) by using a service principal for authentication. First, add the service principal as a user in your Azure DevOps organization and then assign it to the *Readers* group. This grants the necessary permissions to access build artifacts.
147148

148-
Downloading a build artifact from ADO is similarly possible. Instead of making a role assignment to the SP, it needs to be added as a user to the ADO organization...
149+
- Add the service principal's Application ID (appId) as a user in your Azure DevOps organization.
150+
- Assign the service principal to the **Readers** group to provide read access to artifacts.
151+
152+
Once configured, you can use the service principal credentials in your customization tasks to authenticate and download artifacts securely from Azure DevOps.
153+
154+
To add a service principal to your Azure DevOps organization and the Readers group:
155+
156+
1. Go to your Azure DevOps organization settings.
157+
2. Select **Users** and click **Add users**.
158+
3. Enter the service principal's Application ID (appId) as the user email.
159+
4. Assign the user to the **Readers** group.
160+
5. Complete the process to grant the necessary permissions.
161+
162+
For detailed steps, see [Add users and groups to Azure DevOps](/azure/devops/organizations/security/add-users-team-project).
149163

150164
## Related content
151165

0 commit comments

Comments
 (0)