> For the complete documentation index, see [llms.txt](https://docs.jianny.net/work/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jianny.net/work/azure/ado-service-principal.md).

# ADO Service Principal

We usually provide temporary access of 6 hours for user to have the Application Admin role to perform below step on ADO to create the Service Principal required

<img src="/files/iXOiAkSRNIXCVrBwgyyT" alt="" data-size="original">

<figure><img src="/files/z50M4IaFw4gCoN54i2pC" alt=""><figcaption></figcaption></figure>

However, we can also consider creating a custom role with the following permission to create an Application but not manage applications like adding API permissions. (Emily Wen - MSFT)

### Secrets in ADO

Get pipeline URL and get advice from either Brian/Gamer

![](/files/Bv88ec2m52Pu6ArOIe5g)![](/files/6NNn4YBIEmk7fu2Yr9Ta)![](/files/KAdNocF726wYMMXT7bXt)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jianny.net/work/azure/ado-service-principal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
