Connect CIPP to Ask
With CIPP connected, ZenBuddy can look things up in CIPP when someone asks a question on the Ask page, such as which users in a tenant have no MFA. See Ask ZenBuddy for how questions work.
The connection is read-only. ZenBuddy never changes anything in CIPP: it can use only the tools CIPP marks read-only, as described under What ZenBuddy can read. ZenBuddy uses it once an admin has connected it, unless Use in Ask is turned off.
This connection is separate from CIPP alert intake. You can use either one without the other. Both use the same tenant mappings.
Before you start
Section titled “Before you start”- The admin role in ZenTop Triage.
- ZenBuddy chat turned on for your workspace. See ZenBuddy chat.
- A CIPP instance on CIPP’s new infrastructure. CIPP’s MCP server isn’t available on the legacy self-hosted infrastructure, so a legacy instance has to migrate first.
- Access to CIPP’s Application Settings and to Integrations > CIPP-API.
CIPP describes its side of the setup in its CIPP-API integration documentation.
Prepare CIPP
Section titled “Prepare CIPP”- In CIPP, go to Application Settings > Features and turn on MCP Server. It is off by default.
- Go to Integrations > CIPP-API and create an API client with these settings:
- A role that can read what ZenBuddy looks up. A read-only role is enough.
- IP range set to Any. ZenTop Triage doesn’t call CIPP from a fixed address.
- MCP Access Allowed turned on.
- Copy the client’s ID and secret. Copy its API scope from the client’s Actions menu as well.
- Select Actions > Save to Azure. CIPP doesn’t accept the new client until you do.
Connect CIPP
Section titled “Connect CIPP”- Open Setup → Configuration → Integrations, then select CIPP under Microsoft 365.
- Scroll to Ask connection, below the alert intake settings.
- In Server URL, enter the address of your CIPP API followed by
/api/ExecMCP, for examplehttps://cipp-api.contoso.com/api/ExecMCP. - In Token URL, enter the address CIPP’s API client signs in at. For a Microsoft Entra sign-in this is
https://login.microsoftonline.com/, then your CIPP tenant ID, then/oauth2/v2.0/token. - Enter the Client ID, the Client secret, and the Scope you copied from CIPP. Both URLs must start with
https://. - Select Save.
Saving a client secret restarts ZenTop Triage while it loads the secret. The page shows the wait, which takes about 1–2 minutes, and other pages can show errors until it is back.
After the save, the secret field is empty and shows Saved. ZenTop Triage never shows a saved secret again. To change the other fields later, leave the secret blank; a save without a secret doesn’t restart anything.
Test the connection
Section titled “Test the connection”- Select Test. If you have unsaved changes, save them first: the test uses what is saved.
- Read the result.
A successful test shows how many CIPP tools ZenBuddy may use, how many CIPP listed in total, and the name of each tool ZenBuddy may use. The test signs in to CIPP and reads its list of tools. It doesn’t look anything up in a tenant.
A failed test shows the error instead. Fix the cause and test again.
A successful test also loads your tenant list from CIPP into CIPP Tenant Mappings, higher on the same page. If that load fails, the test still succeeds, and you can load the list yourself in the next section.
Map tenants to PSA companies
Section titled “Map tenants to PSA companies”CIPP looks a tenant up by its default domain, such as contoso.onmicrosoft.com, while a question usually names the client. The tenant mappings tell ZenBuddy which CIPP tenant belongs to which PSA company. The same mappings decide which company a CIPP alert opens its ticket for.
- On the same page, scroll up to CIPP Tenant Mappings.
- Select Load tenants from CIPP. The button is available once the Ask connection has passed a test. The time of the last load shows beside it.
- Review the list. Each tenant shows its display name from CIPP, with its default domain beneath.
- For a tenant that shows as unmapped, or that matched the wrong company, choose its PSA company in the row.
ZenTop Triage matches a tenant on its own when its domain or its display name matches a PSA company’s name or identifier. A mapping you choose yourself always wins.
A tenant marked “Not in CIPP” wasn’t in the last list loaded from CIPP. It stays in the list because it has a mapping or has sent an alert.
Load the list again after you add or remove tenants in CIPP.
Use in Ask
Section titled “Use in Ask”Use in Ask is on by default: once the connection is saved and complete, ZenBuddy uses it from the next question, without a restart.
Turn the switch off to stop ZenBuddy from using CIPP. The saved connection stays, so you can turn it back on later.
What ZenBuddy can read
Section titled “What ZenBuddy can read”ZenBuddy can use any CIPP tool that CIPP marks read-only. That covers:
- Any read-only CIPP report or list, such as a tenant’s users, licenses, or Conditional Access policies.
- CIPP’s Microsoft Graph lookup, which runs read-only Microsoft Graph queries through CIPP.
- CIPP’s own documentation search.
The role on the CIPP API client is your own control over what ZenBuddy can see. ZenBuddy can’t read anything in CIPP that the role doesn’t allow.
ZenBuddy uses these lookups most often, so ZenTop Triage offers them to it directly:
| CIPP lookup | What it returns |
|---|---|
| ListUsers | The users in a tenant. |
| ListMFAUsers | The MFA state of a tenant’s users. |
| ListLicenses | A tenant’s licenses. |
| ListConditionalAccessPolicies | A tenant’s Conditional Access policies. |
| ListSignIns | A tenant’s sign-in log. |
| ListRoles | A tenant’s directory roles. |
| ListTenantAlignment | How tenants align with your CIPP standards. |
| ListStandardsCompare | A tenant compared against your CIPP standards. |
ZenBuddy never runs an operation that changes anything. ZenTop Triage refuses every CIPP operation whose name starts with Add, Set, Remove, Delete, Edit, New, Update, Disable, Enable, Reset, Revoke, Push, Clear, Start, Stop, Rename, Move, Copy, or Exec, whatever the question and whatever the client’s role allows. A refused operation is never sent to CIPP.
Two read-only operations are also left out, because they return nothing a text answer can use: CIPP’s API specification and user photos.
What is sent to the AI model
Section titled “What is sent to the AI model”To answer a question, ZenBuddy sends what it looks up in CIPP to the AI model. That covers users, licenses, sign-ins, policies, and anything else it reads there.
- CIPP results aren’t redacted. They go to the model as CIPP returned them, with names, domains, and dates intact. Masking those would make the answers wrong: ZenBuddy couldn’t tell you which Contoso user has no MFA if the user’s name were hidden.
- The CIPP role decides what ZenBuddy can read. ZenBuddy can send the model only what the role on the CIPP API client lets it read. To keep something away from the model, use a role that can’t read it.
- Ticket content is still redacted. Text your clients wrote, such as ticket descriptions, notes, and emails, is redacted under your AI Privacy settings before it is used for AI processing. See AI Privacy.
- Your question isn’t redacted. What you type goes to the model as written, and earlier answers go as the model wrote them, so a question about “Pacific time” or a named user is understood as you meant it.
Limits
Section titled “Limits”- Workspace questions only. ZenBuddy uses CIPP for questions asked on the Ask page. Questions asked about a ticket in the ZenBuddy tray don’t use CIPP.
- Inactive clients aren’t filtered out. Other workspace answers leave out companies your PSA marks inactive or whose type isn’t selected. CIPP results aren’t filtered that way, so an answer can include a tenant that belongs to an inactive client.
- Limits per question. There is no fixed number of CIPP lookups for one question. Each question has a time limit and a usage limit instead. If ZenBuddy reaches one before it finishes, the answer says which one and that it may be incomplete. See Read the answer.
- Long results are searched in full. A long CIPP result, such as every user in a large tenant, isn’t shortened. ZenBuddy keeps the whole result and searches, filters, and counts it to answer.
- Hosted CIPP limits apply. A hosted CIPP instance can cap how much it sends each day. When CIPP refuses a lookup, ZenBuddy answers from what it already has.
Troubleshooting
Section titled “Troubleshooting”| Message or symptom | What to check |
|---|---|
| Save is unavailable | Enter both URLs with https://, a client ID, and, the first time, the client secret. |
| Test is unavailable | Save the connection first. The test uses the saved values. |
| The test shows an error | Check the client ID, secret, scope, and token URL. In CIPP, check that MCP Server is on, the client has MCP Access Allowed and an IP range of Any, and you selected Save to Azure. |
| Use in Ask can’t be turned back on | Run a test that succeeds. |
| Answers don’t use CIPP | Check that Use in Ask is on, and ask from the Ask page instead of the tray. |
| Load tenants from CIPP is unavailable | Save the Ask connection and run a test that succeeds. |
| “Could not read the tenant list from CIPP.” | Run Test again and fix what it reports, then load the tenants again. |
| ZenBuddy can’t find a client’s tenant | Load the tenants from CIPP, then map the tenant to the client’s PSA company in CIPP Tenant Mappings. |