Requirements
- An anny organization on the Enterprise plan and admin rights in your anny account
- A Microsoft 365 organization with Exchange Online mailboxes (cloud, not on-premises)
- An account in Microsoft Entra ID that can create app registrations and grant admin consent for application permissions, for example with the Global Administrator or Privileged Role Administrator role
- The calendars you want to connect already exist (for example room mailboxes for your rooms)
Required permissions
The app registration needs these Microsoft Graph permissions, each as an application permission:Calendars.ReadWrite: Read, create, change and delete events in the connected calendars, and get notified about changesUser.Read.All: Show accounts in the Microsoft calendar selection and verify the connectionMailboxSettings.Read: Detect with Diagnose rule whether a mailbox’s automatic replies interfere with events
MailboxSettings.Read is optional: sync runs without it, and the diagnosis just doesn’t check automatic replies.
Set up the connection
The labels in the Microsoft Entra admin center can differ slightly by language and version.Register the app
anny and choose Accounts in this organizational directory only. You don’t need a redirect URI.Add the permissions
Create a client secret
Copy the IDs
Open the integration in anny
Enter the credentials
Connect calendars and activate
Renew the client secret
When the secret expires, the integration deactivates itself and the affected admins get a notification. anny doesn’t warn you beforehand, so note the expiry date yourself and renew the secret in time.Create a new secret
Deactivate the integration
Enter the credentials again
Activate the integration
Limit access to specific mailboxes
Application permissions initially apply to all mailboxes in your tenant. You limit access to selected room and resource mailboxes in Exchange Online: the guide Limit Microsoft 365 calendar access to specific mailboxes also applies to your own app. Keep in mind:- Use the IDs of the enterprise application that belongs to your app registration.
- The role
Application MailboxSettings.Readis enough instead ofApplication MailboxSettings.ReadWrite. User.Read.Allstays in Entra ID. Without it, anny rejects the connection.
Switch back to the anny app
Deactivate the integration and, on its detail page, choose the three dots → Remove authentication. The Connection section then shows the Authorize button again.Limitations
- Client secrets only: certificates aren’t supported as credentials.
- No reminder before expiry: anny only notifies you once the secret has expired and the integration has deactivated itself.
- Microsoft 365 only: the Microsoft Teams integration still connects through its own anny app.
FAQ
Why don't I see the “Use your own app registration” link?
Why don't I see the “Use your own app registration” link?
Can anyone read the client secret in anny?
Can anyone read the client secret in anny?
Do room mailboxes need an account with a password?
Do room mailboxes need an account with a password?
Troubleshooting
“Microsoft rejected these credentials”
“Microsoft rejected these credentials”
“The app registration is missing permissions”
“The app registration is missing permissions”
User.Read.All is added as an application permission and that admin consent was granted. New permissions can take a while to apply.A message names “tenant” or “client_id” as an invalid UUID
A message names “tenant” or “client_id” as an invalid UUID
00000000-0000-0000-0000-000000000000. A domain such as company.onmicrosoft.com isn’t accepted.“Please deactivate the integration before doing this action”
“Please deactivate the integration before doing this action”
The integration deactivated itself
The integration deactivated itself