Connect Your Own Microsoft Account
Kamo connects to Outlook, Hotmail and Microsoft 365 with your own Microsoft app, not one Kamo provides. You register the app once in Microsoft Entra, enter its ID and secret in Kamo, and your members' Connect With Microsoft button starts working. Until an app is set up and switched on, the button stays hidden. Mailboxes connected with IMAP and an app password need no app and always work.
Before You Start
- The Manage Email Settings right in Kamo.
- A Microsoft account that can register apps in Microsoft Entra (for a Microsoft 365 organization, an Application Administrator or higher).
Choose Who Can Sign In
Your situation | In Entra, Supported account types | In Kamo, Who Can Sign In |
|---|---|---|
Your members use your Microsoft 365 addresses | Single tenant (recommended) | Only My Organization (Single-Tenant), plus the Directory (Tenant) ID |
Your members use work accounts from several Microsoft 365 organizations | Multitenant | Any Work Or School Account (Multi-Tenant) |
Your members also use Outlook.com or Hotmail addresses | Multitenant and personal Microsoft accounts | Work, School And Personal Microsoft Accounts |
Steps In Microsoft Entra
- Go to entra.microsoft.com › App registrations › New registration.
- Enter a name your members will recognize, for example Kamo Mail, and pick the Supported account types from the table above.
- Under Redirect URI, choose Web and paste the first address Kamo shows under Redirect URIs on the Microsoft App panel. Click Register.
- Open Authentication and add the remaining redirect URIs from the panel, exactly as shown. Leave the implicit and hybrid flow boxes unticked, then save.
- Open Certificates & secrets › New client secret, choose an expiry, and copy the secret's Value straight away (not the Secret ID; the Value is shown only once).
- Open API permissions › Add a permission › Microsoft Graph › Delegated permissions and add the scopes Kamo shows under Scopes on the panel. For connected mailboxes these are:
Mail.ReadWriteMail.SendUser.Readoffline_access
Add Calendars.ReadWrite, Contacts.ReadWrite and Files.ReadWrite only if members sync calendars, contacts or Drive attachments. The Organization Mail Service permissions (User.ReadWrite.All, Domain.ReadWrite.All, Directory.Read.All) are needed only when Microsoft 365 is your organization's mail provider, and an administrator must click Grant admin consent for them.
- With a single-tenant app you may also click Grant admin consent for the members' permissions, so members are not asked to approve them one by one.
- Open Overview and copy the Application (client) ID and, for a single-tenant app, the Directory (tenant) ID.
Steps In Kamo
- Go to Settings › Email › Mail Service › Mail Provider › Google And Microsoft Apps.
- On the Microsoft App panel, paste the Application (Client) ID and the Client Secret Value.
- Pick Who Can Sign In to match the app. For Only My Organization, paste the Directory (Tenant) ID.
- Click Save App and make sure the switch at the top of the panel is On.
- Click Test Connection. Kamo asks Microsoft whether it knows the app and every redirect URI. For a single-tenant app it also checks the secret; a multi-tenant app's secret is checked on the first sign-in. Fix anything marked in red and test again.
Your members can now go to My Settings › My Mailbox › Connected Accounts, click Connect A Mailbox and choose Outlook.
Turning It Off
Switch the panel Off to stop new connections through your app while keeping its details on file. If the platform provides a Microsoft app, your members use that one instead; otherwise Connect With Microsoft is hidden again. Remove App deletes the details; mailboxes connected with it will need to sign in again.
If Something Goes Wrong
- AADSTS50011 — a redirect URI is missing. Add every address from the panel under Authentication › Web › Redirect URIs.
- AADSTS700016 — Microsoft cannot find the app in that directory. Check the Application (Client) ID and the Directory (Tenant) ID.
- AADSTS50194 — the app is single-tenant. Choose Only My Organization in Kamo and enter the Directory (Tenant) ID.
- AADSTS7000215 — the secret is wrong. Paste the secret's Value, not its Secret ID.
- AADSTS7000222 — the secret has expired. Create a new one in Certificates & secrets, paste it in Kamo and save.
- A personal Outlook.com address cannot sign in — the app's Supported account types must include personal Microsoft accounts, and Who Can Sign In must be Work, School And Personal Microsoft Accounts.