Connect Microsoft 365 GCC High and DoDProfessional
Airia's SharePoint, OneDrive and Outlook connectors can connect to Microsoft 365 tenants in the US Government clouds, GCC High and DoD. These tenants sign in at login.microsoftonline.us and serve data from graph.microsoft.us (GCC High) or dod-graph.microsoft.us (DoD), so the connection has to be told which cloud your tenant is in.
This page covers only what differs from a commercial tenant. For the connector setup itself, follow the connector's own page:
- OneDrive and SharePoint
- Outlook
- SharePoint (Service Account), OneDrive (Service Account) and Outlook (Service Account)
Which Cloud Is Your Tenant In?
| Your Microsoft 365 environment | Sign-in host | Choose in Airia |
|---|---|---|
| Commercial, or GCC (Government Community Cloud, moderate) | login.microsoftonline.com | Commercial |
| GCC High | login.microsoftonline.us | US Government GCC High |
| DoD | login.microsoftonline.us | US Government DoD |
💡 Note: Plain GCC runs on the commercial cloud. If your users sign in at
login.microsoftonline.com, you don't need anything on this page: use the connectors as documented.
GCC High and DoD share a sign-in host but use different Microsoft Graph hosts. Choosing the wrong one of the two lets users sign in but makes every data request fail, so confirm which one your tenant is with your Microsoft 365 administrator.
Delegated Connectors (OneDrive and SharePoint, Outlook)
Delegated connectors sign in as a user through an OAuth app.
⚠️ Warning: The Airia Managed OAuth Connector is registered in the commercial cloud and can't sign in GCC High or DoD accounts. Use your own OAuth app, registered in your Azure Government tenant.
1. Register the App in Your Azure Government Tenant
Follow the Set Up with Your Own OAuth App steps on the connector's page, with these differences:
- Register the app in the Azure Government portal (
portal.azure.us), in the tenant that owns the mailboxes or sites. An app registered in a commercial tenant can't sign in Azure Government users. - Add the same Delegated Microsoft Graph permissions the connector's page lists, then Grant admin consent.
- Use the Redirect URL shown on the Microsoft connector form in Airia, exactly as for a commercial app.
2. Create the OAuth Connector in Airia
- Navigate to Settings > Ecosystem > OAuth Connections and select the Microsoft card.
- Keep User OAuth selected under Authentication Type.
- Set Microsoft Cloud to US Government GCC High or US Government DoD.
Airia points the sign-in endpoints at
login.microsoftonline.usand rewrites the Scopes for your cloud's Graph host. Choose the cloud before you edit the scopes. - Enter the Name, Client ID, Client Secret and, for a single-tenant app, Single-tenant App and Tenant ID.
- Keep only the scopes you granted in Azure, then click Create.
3. Create the Data Source
Create the data source as described on the connector's page, and select the OAuth connector you just created under OAuth Connectors. Authentication, the folder picker, ingestion and Filter search results based on end user's access permissions work the same as in the commercial cloud.
💡 Note: Microsoft OAuth connectors created before the Microsoft Cloud setting existed stay on Commercial.
Service Account Connectors
The service account connectors (SharePoint, OneDrive and Outlook) authenticate with an application credential (tenant ID, client ID, client secret) and have no per-credential cloud setting. They use the Microsoft cloud configured for your Airia deployment.
To use them with a GCC High or DoD tenant:
- Contact your Airia representative to confirm your Airia deployment is configured for your Microsoft cloud.
- Register the app in the Azure Government portal, add the Application permissions listed on the connector's page, and grant admin consent.
- For
Sites.Selected, make the per-site grant against your cloud's Graph host, for examplehttps://graph.microsoft.us/v1.0/sites/{site-id}/permissionsfor GCC High, instead ofgraph.microsoft.com. - Create the credential and data source as described on the connector's page.
Limitations in GCC High and DoD
Some Microsoft Graph features aren't offered in the US Government clouds. Airia handles their absence without failing the sync:
| Feature | Behavior in GCC High and DoD |
|---|---|
| OneDrive Shared with me items | Not listed. Microsoft doesn't offer the item insights API in these clouds. Files in the user's own OneDrive and in SharePoint sites are unaffected. |
| Microsoft Purview sensitivity labels | May be unavailable. Files are ingested without label information when your cloud doesn't return it. |
| OneNote connector | Not supported. Microsoft doesn't offer the OneNote API in these clouds, so a OneNote data source for a GCC High or DoD tenant fails with a "not supported" error. |
| Airia Managed OAuth Connector | Not available. Use your own OAuth app. |
The existing limitations of each connector still apply. For example, the SharePoint (Service Account) connector doesn't filter results by end-user permissions in any cloud.
Troubleshooting
| Symptom | Likely cause |
|---|---|
Sign-in fails with AADSTS900432 or "application not found in the directory" | The OAuth connector is set to Commercial, or the app is registered in a commercial tenant. Register the app in Azure Government and set Microsoft Cloud on the connector. |
Sign-in succeeds, but the folder picker or the sync fails with 401 Unauthorized | GCC High and DoD are swapped on the OAuth connector, or the scopes still use graph.microsoft.com. Recreate the connector with the right Microsoft Cloud. |
| Service account credential fails Test Connection | Your Airia deployment isn't configured for your Microsoft cloud, or admin consent wasn't granted. Contact your Airia representative. |
| No files appear under Shared with me | Expected in GCC High and DoD. See Limitations. |