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:

ColumnMeans
To lookRead-only: lists, details, reports, health, monitoring
To changeCreate and edit: start / stop, settings, assignments, new items
To delete or dangerousRemove 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.

  1. Entra admin center → App registrations → New registration. Name it, keep this organizational directory only, no redirect URI.
  2. Copy the Application (client) ID and Directory (tenant) ID from the overview.
  3. Certificates & secrets → New client secret, and copy the value straight away.
  4. 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).
  5. In Opsaido: Settings → Connectors → Add connector → Microsoft 365 / Azure, paste the IDs and secret, Test connection.

Users, groups and devices

AreaTo lookTo changeTo delete or dangerous
UsersUser.Read.AllUser.ReadWrite.AllUser.ReadWrite.All (delete); User-PasswordProfile.ReadWrite.All (reset passwords); User.RevokeSessions.All (sign out everywhere)
GroupsGroup.Read.AllGroup.ReadWrite.All, GroupMember.ReadWrite.AllGroup.ReadWrite.All
DevicesDevice.Read.AllDevice.ReadWrite.All (enable, disable)Device.ReadWrite.All
Directory overviewDirectory.Read.All——
Sign-in and audit logsAuditLog.Read.All (needs Entra ID P1 or P2)——
MFA registrationAuditLog.Read.All, UserAuthenticationMethod.Read.All——
Conditional AccessPolicy.Read.All——
App secrets about to expireApplication.Read.All——

Licences

AreaTo lookTo changeTo delete or dangerous
LicencesOrganization.Read.AllLicenseAssignment.ReadWrite.All (assign; group-based licensing needs Entra ID P1)LicenseAssignment.ReadWrite.All (remove)
Licence wasteUser.Read.All, AuditLog.Read.All——

Intune and Autopilot

AreaTo lookTo changeTo delete or dangerous
Managed devices, complianceDeviceManagementManagedDevices.Read.AllDeviceManagementManagedDevices.ReadWrite.All (primary user, rename)DeviceManagementManagedDevices.PrivilegedOperations.All (sync, restart, retire, wipe, rotate keys, remediations); DeviceManagementManagedDevices.ReadWrite.All (delete stale records)
Configuration and update ringsDeviceManagementConfiguration.Read.AllDeviceManagementConfiguration.ReadWrite.All (assign profiles and policies, pause rings)DeviceManagementConfiguration.ReadWrite.All
AppsDeviceManagementApps.Read.AllDeviceManagementApps.ReadWrite.All (deploy to groups)DeviceManagementApps.ReadWrite.All
Autopilot, enrolment restrictionsDeviceManagementServiceConfig.Read.All——
BitLocker recovery keysBitlockerKey.Read.All (sensitive: grant only if you want it)——
LAPS local admin passwordsDeviceLocalCredential.Read.All (sensitive: grant only if you want it)——
Windows 365 Cloud PCsCloudPC.Read.AllCloudPC.ReadWrite.All (restart, restore)CloudPC.ReadWrite.All (reprovision)

Exchange Online

Exchange Online needs two things, both required:

  1. API permissions → Add a permission → APIs my organization uses → Office 365 Exchange Online → Application permissions → Exchange.ManageAsApp, then grant admin consent.
  2. Entra ID → Roles & administrators: assign the app a role.
AreaTo lookTo changeTo delete or dangerous
Mailboxes, groups, mail flow, message trace, quarantineExchange.ManageAsApp + Global Reader roleExchange.ManageAsApp + Exchange Administrator roleExchange.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

AreaTo lookTo changeTo delete or dangerous
Sites, lists, files, OneDrive storageSites.Read.All, Files.Read.AllSites.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 siteSites.FullControl.All——
Teams and settingsTeam.ReadBasic.All, TeamSettings.Read.All, Group.Read.AllTeam.Create, TeamSettings.ReadWrite.All (settings, archive)TeamSettings.ReadWrite.All
Members and ownersTeamMember.Read.AllTeamMember.ReadWrite.AllTeamMember.ReadWrite.All (remove)
ChannelsChannel.ReadBasic.AllChannel.CreateChannel.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

AreaTo lookTo changeTo delete or dangerous
Defender alerts and incidentsSecurityAlert.Read.All, SecurityIncident.Read.All——
Risky usersIdentityRiskyUser.Read.AllIdentityRiskyUser.ReadWrite.All (dismiss risk)—
Secure ScoreSecurityEvents.Read.All——
Who holds admin rolesRoleManagement.Read.Directory (+ RoleEligibilitySchedule.Read.Directory for PIM, Entra ID P2)——
Usage reportsReports.Read.All——
Service health, message centerServiceHealth.Read.All, ServiceMessage.Read.All——
DomainsDomain.Read.AllDomain.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.

AreaTo lookTo change, and to delete
Everything (resources, VMs, storage, Advisor)Reader—
CostsCost Management Reader—
Virtual machinesReaderVirtual Machine Contributor (start, stop, restart, resize)
Disks and snapshotsReaderDisk Snapshot Contributor (or Contributor)
Networking, NSG rulesReaderNetwork Contributor
Web appsReaderWebsite Contributor (start / stop, settings, slots, scaling)
StorageReaderStorage Account Contributor; Storage Account Key Operator Service Role to rotate keys
Azure SQL firewallReaderSQL Server Contributor
AKSReaderAzure Kubernetes Service Contributor (start / stop)
BackupBackup Reader—
Key Vault expiry (names and dates only)Key Vault Reader—
TagsReaderTag Contributor
Automation runbooksReaderAutomation Operator (start)
Deploy new resourcesReaderContributor on the resource group (or the subscription, to create resource groups)
Azure Virtual DesktopReaderDesktop Virtualization Contributor, Virtual Machine Contributor
Azure DNSReaderDNS 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

SystemTo lookTo changeTo delete or dangerous
Proxmox VEAPI token with PVEAuditor on /PVEVMAdmin + datastore rightsPVEVMAdmin (delete VMs, roll back snapshots)
Proxmox Backup ServerDatastoreAuditDatastoreBackupDatastorePowerUser (prune, remove snapshots)
VMware ESXi / vCenterRead-only roleA role with VM power, snapshot and configuration privilegesAdd Virtual machine → Inventory → Remove to delete VMs
Hyper-VHyper-V Administrators (Hyper-V needs it even to read)Hyper-V AdministratorsHyper-V Administrators
LinuxA normal SSH usersudo (passwordless, or the sudo password)sudo
WindowsA normal user (some checks need an admin)Local AdministratorsLocal Administrators
Active DirectoryRead on the OUs (any domain user)Delegated admin rights on the OUs to manage users, computers and groups: create, change, reset passwords, moveDelegated delete rights on those OUs (or Domain Admins)
Exchange ServerView-Only Organization ManagementRecipient ManagementOrganization Management
DockerA read-only socket proxy, or SSHSocket proxy with actions allowed, or the docker groupSame
Kubernetesvieweditadmin / cluster-admin for cluster-wide changes
CloudflareAPI token: Zone:ReadDNS:Edit (and Zone Settings, Cache Purge, Firewall, Tunnel as needed)DNS:Edit
AWS Route 53route53:List*, route53:Get*route53:ChangeResourceRecordSetsSame
AWS EC2 / Lightsailec2:Describe* (or lightsail:Get*)Start, stop, reboot, snapshot actionsTerminate / delete actions
Synology DSMAn administrators-group user (DSM requires it)SameSame
TrueNASAn admin’s API keySameSame
Veeam B&RVeeam Backup ViewerVeeam Backup OperatorVeeam Backup Administrator
Ticketing (Jira, ServiceNow, Zendesk…)An agent who can read ticketsCreate 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.