Skip to content
InvardiaInvardia
Why InvardiaProductsFeaturesPricingCommunity
Docs
All documentation
Product documentationPIM ManagerSecurityInsight
SettingsPIM Manager settingsSecurityInsight settingsEntra Policy Suite settings
ScriptsPIM Manager scriptsSecurityInsight scriptsEntra Policy Suite scriptsInvardia scripts
Error codesPIM Manager error codesSecurityInsight error codes
API and MCPPIM Manager APIPIM Manager MCP toolsSecurityInsight APISecurityInsight MCP tools
SecurityPIM Manager security packSecurityInsight security packEntra Policy Suite security pack
Network and designPIM Manager network guidesPIM Manager command wizardNetwork egressDesign your installationCalculate your cost
SupportSetup scriptsRemote support access
Search the docs
SupportAboutContactBook a demoCustomer portalDesign your installationFree Pro trial

PIM Manager docs

1 Why

  • Why PIM Manager

2 Features

  • Features
  • Delegation model
  • Change control
  • Admin accounts
  • Visibility and evidence
  • Integrations
  • Platform and editions

3 How to design

  • How to design
  • Nested groups
  • Role-assignable groups
  • Tiers and levels
  • Naming
  • Migration
  • Workload roles

4 Security design

  • Security design
  • Identities
  • Engine permissions
  • Database
  • Sign-in
  • Approval and audit
  • Support access
  • Updates and license
  • Data
  • Database access (least privilege)

5 Architecture, setup and sizing

  • Architecture
  • Setup
  • Sizing

6 Operate

  • Operate
  • Guards
  • Access reviews
  • PIM Activator
  • Settings

7 Integrate

  • Integrate
  • REST API and ServiceNow
  • MCP server for AI assistants
  • Hybrid Active Directory
  • MSP: managing and managed tenants

8 Knowledge base

  • Knowledge base
  • How to onboard a consultant
  • How to onboard an admin
  • How to delegate a Power BI workspace
  • How to delegate an Azure landing zone or subscription
  • How to delegate Intune roles
  • How to delegate Defender XDR to a helpdesk
  • How to use Discovery and gaps
  • How to handle drift
  • How to undo a commit
  • How to enable access reviews
  • How to approve a held policy change
  • How to add a break-glass account
  • How to install the PIM Activator without Intune
  • How to set up PIM for Active Directory
  • How to read the access map and see who can activate a role
  • How to find the least-privileged role for a task
  • MSP: how to roll a change to one wave
  • How to activate with the PIM Activator
  • How to offboard an admin
  • FAQ
  • Lessons learned

9 Reference

  • Reference
  • Glossary

10 Support

  • Support

On this page

  • No access by default
  • You create it and decide
  • Renewal and self-ownership
  • What each level grants
  • Database rights at every level
  • Setup is tier-0
  • Controls on the credential
  • What you see
  • How you end it

PIM Manager documentation · Verified against PIM Manager 3.0.23.3 on Nov 3, 2026

Support access

Vendor access is a common way into a tenant, yet a support team that cannot see anything cannot help with a hard case. Invardia has no access to your PIM Manager installation by default. Access exists only when you ask for help with a troubleshooting case and create the Invardia Support app yourself, and you remove it again when the case is closed.

The Support app does not exist until you create it with the setup script; you choose its level and secret lifetime, upload the secret, see every sign-in in your logs and remove it with one command

No access by default

  • A PIM Manager installation has no Invardia Support app. It gives Invardia no identity, no credential and no network path into your tenant or your subscription.
  • The Support app is a troubleshooting aid you create on request. It is not part of the install, and no PIM Manager component runs as it.
  • It is not given a PIM Manager role. Its database rights, described below, do let it change PIM Manager’s stored data and settings directly, including who holds a Manager role. Azure SQL auditing records such statements; PIM Manager’s audit trail does not.

You create it and decide

When you open a support case and want Invardia to look inside your installation, you follow the steps on Remote support access. You decide:

  1. That it exists. You create the app in your own tenant with Invardia’s setup script, and you own it.
  2. Its level. Troubleshoot or Setup, as the table below shows.
  3. Its secret. You run the script, and it creates a client secret that lives as long as you choose (1 to 730 days, 90 if you do not choose) and shows it to you once. You upload it yourself in the customer portal under Remote support.
  4. How it is renewed. You choose in the portal. The default is Approval required: the secret is not renewed unless you approve. Automatic is an option you can pick; it is not the default. See Renewal and self-ownership for how a renewal works.
  5. When it ends. You remove it with one command when the case is done.

Renewal and self-ownership

Two facts belong together here.

What you do. You create the app, you create its first secret with the script, you upload it, and you choose how it is renewed. You can renew it yourself at any time: run the script again with -Action NewSecret, which creates a new secret, removes the old one so only one is live, and shows the new one once; then upload it in the portal.

What the app can do. The script makes the app the owner of itself and gives it the Microsoft Graph permission Application.ReadWrite.OwnedBy, at both levels. That is how a renewal you approve in the portal, or an Automatic renewal you chose, is carried out: the app uses its current secret to add its next one. It also means that whoever holds a valid secret can add another credential to the app. Your portal choice decides when Invardia renews; it is not a technical limit on a holder of the secret.

What limits it:

  • Your Entra audit log. Every credential added to or removed from the app is recorded there, with the time and the actor.
  • The IP lock. With the Conditional Access policy switched on, a sign-in of the app from anywhere but Invardia’s support address is blocked, so a copied secret does not work from another network.
  • A short lifetime. Choose the shortest lifetime that covers the case.
  • Removing it after the case. No app, no secret, no renewal.

If you want only yourself to be able to add a credential, remove the app from its own Owners in Microsoft Entra ID (App registrations > the app > Owners) and renew with -Action NewSecret yourself. A later run of the script without -Action adds the ownership back. At the Setup level this is not enough on its own: Application.ReadWrite.All lets the app change any app registration, itself included.

What each level grants

Two scripts give the access. Invardia’s setup script gives the app its rights in Microsoft Entra ID and Azure. Grant-PimSupportAccess, which you run from the PIM Manager package, gives it access to this installation.

Level Microsoft Entra ID and Azure This PIM Manager installation
Troubleshoot Read-only Microsoft Graph application permissions (directory, applications, users, groups, roles, PIM policies and schedules, access reviews); Reader and Log Analytics Reader on the resource groups you name; Key Vault Reader (no secret values) Membership of the database admin group, and the app’s own database user in the database owner role (db_owner), with read access and a view of the schema; plus the as-built access. Only if you create the Support app at this level and grant it access
Setup Troubleshoot, plus Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All, DelegatedPermissionGrant.ReadWrite.All, Group.Create, GroupMember.ReadWrite.All and RoleManagement.ReadWrite.Directory in Graph; Contributor and User Access Administrator on the subscriptions you name, and at the tenant root only if you choose it Membership of the database admin group and the database owner role (db_owner), as at Troubleshoot; ownership of PIM Manager’s own app registrations and groups; plus the as-built access. Only if you create the Support app at this level and grant it access
As-built Nothing more Start the as-built report job and read the one storage container it writes to. When you name a database: the database admin group membership and the database owner role, as above. The report describes the configuration without secrets, people or object ids, and is deleted after one day

At both levels the app is also the owner of itself and holds Application.ReadWrite.OwnedBy; Renewal and self-ownership explains what that allows and how you limit it.

Database rights at every level

The table lists these rights; this section explains them. Troubleshoot is read-only in Microsoft Entra ID and Azure, but not in the PIM database. Whatever level you grant with Grant-PimSupportAccess, it also gives the app database rights until you take them back with -Remove, so that support can run PIM Manager’s own repair scripts:

  • membership of the database admin group;
  • its own database user, created from the app’s client id, in the database owner role.

At the as-built level this happens only when a database is named. These rights reach everything in the one PIM database, including the audit tables, and nothing outside it. They exist only if you create the Support app and grant it access.

Setup is tier-0

The Setup level can grant application permissions, including to the app itself, and assign Microsoft Entra roles. With User Access Administrator on your subscriptions it is owner-level access to them. Grant it for an install or a repair, then lower it or remove it.

Controls on the credential

  • IP lock. The setup script creates a Conditional Access policy that blocks the app everywhere except Invardia’s support address. It is created switched off; you switch it on. Conditional Access for workload identities needs Microsoft Entra Workload ID Premium licenses.
  • Without Workload ID Premium, your controls are a short secret lifetime, keeping the app disabled between cases, and removing it when the case is done.
  • Self-ownership. See Renewal and self-ownership.
  • Disable without removing. Disabling the app in Microsoft Entra ID blocks new sign-ins and keeps its grants, including its database rights, for the next case. Removing it is the stronger control.

What you see

  • Every sign-in of the app appears in your Microsoft Entra sign-in logs, under service principal sign-ins.
  • Changes it makes in Microsoft Entra ID appear in your Entra audit log, and changes in Azure in the Azure activity log.
  • PIM Manager’s audit trail records changes made through PIM Manager. Statements the app runs directly against the database are not in it. Switch on Azure SQL auditing to your Log Analytics workspace to record them.

How you end it

  1. Run Grant-PimSupportAccess with -Remove. It drops the app’s database user and takes back the admin group membership, the ownerships and the as-built access.
  2. Remove the app with one command. Its Azure role assignments and its Conditional Access policy go with it:
iwr https://invardia.com/support/New-InvardiaSupportApp.ps1 -OutFile .\New-InvardiaSupportApp.ps1
.\New-InvardiaSupportApp.ps1 -TenantId <tenant id> -Action Remove
  1. Delete the environment in the customer portal under Remote support.

Access tokens issued before the removal stay valid until they expire, typically within about an hour. If you only delete the app registration, new sign-ins stop at once, but the database user stays until you run step 1. New-InvardiaSupportApp lists every change the script makes.

Verified against PIM Manager 3.0.23.3 on Nov 3, 2026Download PDF

← Approval and auditUpdates and license →

InvardiaInvardia

See the risk. Control the access.

Products

PIM ManagerSecurityInsightEntra Policy SuiteAll featuresPricingFree 60-day Pro trialBook a demoWhy Invardia

Docs

DocumentationSearch the docsPIM Manager settingsSecurityInsight settingsPIM network guidesCommand wizardNetwork egressPIM Manager design configuratorSecurityInsight design configuratorDesign your installationCalculate your cost

Company

AboutContactCustomer portalSupportHow support worksHow updates reach youSupport in numbersSetup scriptsRemote support accessContact: info@invardia.com

Legal

Terms of saleLicence termsData processingPrivacyCookiesCompany information
© 2026 Invardia – a brand of 2LINKIT, founded and owned by Morten Knudsen · Strandvejen 21A, 6000 Kolding, Denmark · VAT DK39208032 · Contact: info@invardia.com