Permissions
Exactly which permissions or roles each system needs, to look, to change and to delete, with Microsoft 365, Intune and Azure in detail.
Give Opsaido only what you want it to do. Start with look permissions; add change and delete ones later, only for the jobs you want the assistant to do. Whatever you grant, every change still shows a dry run and waits for your approval in the app, and dangerous ones (wipes, deletes, resets) need a red approval and the right role in Opsaido.
How to read the tables:
| Column | Means |
|---|---|
| To look | Read-only: lists, details, reports, health, monitoring |
| To change | Create and edit: start / stop, settings, assignments, new items |
| To delete or dangerous | Remove things, or actions that can’t be undone (wipe, reset, revoke) |
Microsoft 365, Entra ID and Intune
Opsaido uses an app registration with application permissions (not delegated), so it works without anyone signed in.
- Entra admin center → App registrations → New registration. Name it, keep this organizational directory only, no redirect URI.
- Copy the Application (client) ID and Directory (tenant) ID from the overview.
- Certificates & secrets → New client secret, and copy the value straight away.
- API permissions → Add a permission → Microsoft Graph → Application permissions: tick the permissions from the tables below, then Grant admin consent (a Global Administrator or Privileged Role Administrator).
- In Opsaido: Settings → Connectors → Add connector → Microsoft 365 / Azure, paste the IDs and secret, Test connection.
Users, groups and devices
| Area | To look | To change | To delete or dangerous |
|---|---|---|---|
| Users | User.Read.All | User.ReadWrite.All | User.ReadWrite.All (delete); User-PasswordProfile.ReadWrite.All (reset passwords); User.RevokeSessions.All (sign out everywhere) |
| Groups | Group.Read.All | Group.ReadWrite.All, GroupMember.ReadWrite.All | Group.ReadWrite.All |
| Devices | Device.Read.All | Device.ReadWrite.All (enable, disable) | Device.ReadWrite.All |
| Directory overview | Directory.Read.All | — | — |
| Sign-in and audit logs | AuditLog.Read.All (needs Entra ID P1 or P2) | — | — |
| MFA registration | AuditLog.Read.All, UserAuthenticationMethod.Read.All | — | — |
| Conditional Access | Policy.Read.All | — | — |
| App secrets about to expire | Application.Read.All | — | — |
Licences
| Area | To look | To change | To delete or dangerous |
|---|---|---|---|
| Licences | Organization.Read.All | LicenseAssignment.ReadWrite.All (assign; group-based licensing needs Entra ID P1) | LicenseAssignment.ReadWrite.All (remove) |
| Licence waste | User.Read.All, AuditLog.Read.All | — | — |
Intune and Autopilot
| Area | To look | To change | To delete or dangerous |
|---|---|---|---|
| Managed devices, compliance | DeviceManagementManagedDevices.Read.All | DeviceManagementManagedDevices.ReadWrite.All (primary user, rename) | DeviceManagementManagedDevices.PrivilegedOperations.All (sync, restart, retire, wipe, rotate keys, remediations); DeviceManagementManagedDevices.ReadWrite.All (delete stale records) |
| Configuration and update rings | DeviceManagementConfiguration.Read.All | DeviceManagementConfiguration.ReadWrite.All (assign profiles and policies, pause rings) | DeviceManagementConfiguration.ReadWrite.All |
| Apps | DeviceManagementApps.Read.All | DeviceManagementApps.ReadWrite.All (deploy to groups) | DeviceManagementApps.ReadWrite.All |
| Autopilot, enrolment restrictions | DeviceManagementServiceConfig.Read.All | — | — |
| BitLocker recovery keys | BitlockerKey.Read.All (sensitive: grant only if you want it) | — | — |
| LAPS local admin passwords | DeviceLocalCredential.Read.All (sensitive: grant only if you want it) | — | — |
| Windows 365 Cloud PCs | CloudPC.Read.All | CloudPC.ReadWrite.All (restart, restore) | CloudPC.ReadWrite.All (reprovision) |
Exchange Online
Exchange Online needs two things, both required:
- API permissions → Add a permission → APIs my organization uses → Office 365 Exchange Online → Application permissions →
Exchange.ManageAsApp, then grant admin consent. - Entra ID → Roles & administrators: assign the app a role.
| Area | To look | To change | To delete or dangerous |
|---|---|---|---|
| Mailboxes, groups, mail flow, message trace, quarantine | Exchange.ManageAsApp + Global Reader role | Exchange.ManageAsApp + Exchange Administrator role | Exchange.ManageAsApp + Exchange Administrator role |
| Out-of-office through Graph | — | MailboxSettings.ReadWrite | — |
Role changes take 5–15 minutes (sometimes up to an hour) to apply.
SharePoint, OneDrive and Teams
| Area | To look | To change | To delete or dangerous |
|---|---|---|---|
| Sites, lists, files, OneDrive storage | Sites.Read.All, Files.Read.All | Sites.ReadWrite.All (list items); Sites.Manage.All (create lists); Group.ReadWrite.All (new team sites) | Sites.ReadWrite.All (remove items and sharing links) |
| Which apps can reach a site | Sites.FullControl.All | — | — |
| Teams and settings | Team.ReadBasic.All, TeamSettings.Read.All, Group.Read.All | Team.Create, TeamSettings.ReadWrite.All (settings, archive) | TeamSettings.ReadWrite.All |
| Members and owners | TeamMember.Read.All | TeamMember.ReadWrite.All | TeamMember.ReadWrite.All (remove) |
| Channels | Channel.ReadBasic.All | Channel.Create | Channel.Delete.All |
To limit Opsaido to particular SharePoint sites, use Sites.Selected and grant the app access to just those sites.
Security, reports, health and domains
| Area | To look | To change | To delete or dangerous |
|---|---|---|---|
| Defender alerts and incidents | SecurityAlert.Read.All, SecurityIncident.Read.All | — | — |
| Risky users | IdentityRiskyUser.Read.All | IdentityRiskyUser.ReadWrite.All (dismiss risk) | — |
| Secure Score | SecurityEvents.Read.All | — | — |
| Who holds admin roles | RoleManagement.Read.Directory (+ RoleEligibilitySchedule.Read.Directory for PIM, Entra ID P2) | — | — |
| Usage reports | Reports.Read.All | — | — |
| Service health, message center | ServiceHealth.Read.All, ServiceMessage.Read.All | — | — |
| Domains | Domain.Read.All | Domain.ReadWrite.All (add, verify, set services) | Domain.ReadWrite.All (remove) |
A good read-only start: User.Read.All, Group.Read.All, Device.Read.All, Organization.Read.All, AuditLog.Read.All, Reports.Read.All, Sites.Read.All, Team.ReadBasic.All, TeamMember.Read.All, ServiceHealth.Read.All, Domain.Read.All.
Azure
Azure resources use Azure roles, not Graph permissions: Subscriptions → your subscription (or a resource group) → Access control (IAM) → Add role assignment, pick the role, then Members → select the Opsaido app.
| Area | To look | To change, and to delete |
|---|---|---|
| Everything (resources, VMs, storage, Advisor) | Reader | — |
| Costs | Cost Management Reader | — |
| Virtual machines | Reader | Virtual Machine Contributor (start, stop, restart, resize) |
| Disks and snapshots | Reader | Disk Snapshot Contributor (or Contributor) |
| Networking, NSG rules | Reader | Network Contributor |
| Web apps | Reader | Website Contributor (start / stop, settings, slots, scaling) |
| Storage | Reader | Storage Account Contributor; Storage Account Key Operator Service Role to rotate keys |
| Azure SQL firewall | Reader | SQL Server Contributor |
| AKS | Reader | Azure Kubernetes Service Contributor (start / stop) |
| Backup | Backup Reader | — |
| Key Vault expiry (names and dates only) | Key Vault Reader | — |
| Tags | Reader | Tag Contributor |
| Automation runbooks | Reader | Automation Operator (start) |
| Deploy new resources | Reader | Contributor on the resource group (or the subscription, to create resource groups) |
| Azure Virtual Desktop | Reader | Desktop Virtualization Contributor, Virtual Machine Contributor |
| Azure DNS | Reader | DNS Zone Contributor |
Some features answer only once their resource provider is registered on the subscription (for example Microsoft.ResourceHealth for resource health): Subscriptions → Resource providers → Register. It’s free and creates nothing.
Other systems
| System | To look | To change | To delete or dangerous |
|---|---|---|---|
| Proxmox VE | API token with PVEAuditor on / | PVEVMAdmin + datastore rights | PVEVMAdmin (delete VMs, roll back snapshots) |
| Proxmox Backup Server | DatastoreAudit | DatastoreBackup | DatastorePowerUser (prune, remove snapshots) |
| VMware ESXi / vCenter | Read-only role | A role with VM power, snapshot and configuration privileges | Add Virtual machine → Inventory → Remove to delete VMs |
| Hyper-V | Hyper-V Administrators (Hyper-V needs it even to read) | Hyper-V Administrators | Hyper-V Administrators |
| Linux | A normal SSH user | sudo (passwordless, or the sudo password) | sudo |
| Windows | A normal user (some checks need an admin) | Local Administrators | Local Administrators |
| Active Directory | Read on the OUs (any domain user) | Delegated admin rights on the OUs to manage users, computers and groups: create, change, reset passwords, move | Delegated delete rights on those OUs (or Domain Admins) |
| Exchange Server | View-Only Organization Management | Recipient Management | Organization Management |
| Docker | A read-only socket proxy, or SSH | Socket proxy with actions allowed, or the docker group | Same |
| Kubernetes | view | edit | admin / cluster-admin for cluster-wide changes |
| Cloudflare | API token: Zone:Read | DNS:Edit (and Zone Settings, Cache Purge, Firewall, Tunnel as needed) | DNS:Edit |
| AWS Route 53 | route53:List*, route53:Get* | route53:ChangeResourceRecordSets | Same |
| AWS EC2 / Lightsail | ec2:Describe* (or lightsail:Get*) | Start, stop, reboot, snapshot actions | Terminate / delete actions |
| Synology DSM | An administrators-group user (DSM requires it) | Same | Same |
| TrueNAS | An admin’s API key | Same | Same |
| Veeam B&R | Veeam Backup Viewer | Veeam Backup Operator | Veeam Backup Administrator |
| Ticketing (Jira, ServiceNow, Zendesk…) | An agent who can read tickets | Create and update tickets | — |
Each connector’s own help (What can this do? in the app, or click an integration on the website) lists the exact actions and whether each one looks, changes or is dangerous.