> For the complete documentation index, see [llms.txt](https://kb.mago.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.mago.io/mago-stage/mago-stage-client-apps/sign-in-to-mago-stage/connect-a-microsoft-365-or-google-account.md).

# Connect a Microsoft 365 or Google account

Connect a Microsoft 365 or Google account to access supported cloud files, folders, profile information, and calendar features in Mago Stage.

The available providers and features depend on the selected Mago Stage environment and the organization’s configuration.

### Sign-in account and connected account

Signing in to Mago Stage and connecting a cloud account are separate actions.

Your Mago Stage sign-in determines:

* Your Mago Stage identity
* The organizations you can access
* Your roles and permissions
* The Stages and displays available to you

A connected Microsoft 365 or Google account provides access to supported external content and services.

Signing in with Microsoft or Google does not necessarily connect that account for cloud content. Complete the connected-account process when you want to access OneDrive, SharePoint, Google Drive, or supported calendar features.

### Before connecting an account

Confirm that:

* You are signed in to Mago Stage.
* The correct Mago Stage environment is selected.
* The organization has enabled the provider.
* Your Microsoft 365 or Google account permits third-party applications.
* Required administrator consent has been granted.
* The account can access the intended files and folders.
* Authentication pop-ups and redirects are permitted.

Organization security policies can prevent account linking even when the username and password are correct.

<figure><img src="https://2978719120-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2FbpP2hYI1Myy7hMs_%2Fuploads%2FsEZQi9APry7RhNAbfnYp%2Fconnected-accounts.png?alt=media&amp;token=d0c646b7-e38f-4442-b567-d1289cbc88ef" alt=""><figcaption></figcaption></figure>

### Connect a Microsoft 365 account

1. Open Mago Stage.
2. Open your user profile.
3. Find **Connected accounts**.
4. Find **Microsoft 365**.
5. Select **Connect**.
6. Sign in to the Microsoft account you want to use.
7. Complete multi-factor authentication when requested.
8. Review the requested permissions.
9. Approve access when permitted by your organization.
10. Return to Mago Stage.
11. Confirm that Microsoft 365 appears as connected.

After connection, supported Microsoft content can include:

* OneDrive files
* SharePoint files
* Microsoft profile information
* Supported Microsoft calendar features

The available content depends on Microsoft tenant policies and the user’s existing permissions.

### Connect a Google account

1. Open Mago Stage.
2. Open your user profile.
3. Find **Connected accounts**.
4. Find **Google**.
5. Select **Connect**.
6. Sign in to the Google account you want to use.
7. Complete additional authentication when requested.
8. Review the requested permissions.
9. Approve access when permitted by your organization.
10. Return to Mago Stage.
11. Confirm that Google appears as connected.

After connection, supported Google content can include:

* Google Drive files
* Google Drive folders
* Google profile information
* Supported Google Calendar features

The available content depends on Google Workspace policies and the user’s existing permissions.

### Permissions

Mago Stage requests permissions needed for the enabled integration.

Depending on the provider and features, permissions can include:

* Viewing basic profile information
* Viewing cloud files and folders
* Downloading selected content
* Viewing supported calendar information
* Maintaining access while the user is not actively signing in

Connecting an account does not grant Mago Stage access to content that the user cannot already access.

Do not approve permissions that conflict with the organization’s security policy. Contact the organization administrator when approval is unclear.

### Select the correct account

Use the account containing the files, folders, or calendars you need.

If several Microsoft or Google accounts are already signed in within the browser, carefully select the correct account during the connection process.

Before approving access, confirm:

* The displayed email address
* The organization or tenant
* The requested permissions
* Whether the account is personal or organization-managed

### Reconnect an account

A connected account may require reconnection when:

* The access token expires
* The user changes their password
* An administrator revokes consent
* Organization security policies change
* The provider requires authentication again
* The account is disabled or restored
* The connection has not been used for an extended period

To reconnect:

1. Open your user profile.
2. Find **Connected accounts**.
3. Find the affected provider.
4. Select **Reconnect**.
5. Complete authentication and consent.
6. Return to Mago Stage.
7. Confirm that the account appears as connected.
8. Test access to the required cloud content.

Reconnect uses the account selected during the new authentication process. Confirm that you reconnect the intended account.

### Disconnect an account

Disconnect an account when you no longer want Mago Stage to access it.

1. Open your user profile.
2. Find **Connected accounts**.
3. Find the connected provider.
4. Select **Disconnect**.
5. Confirm the action when requested.

Disconnecting an account prevents Mago Stage from retrieving new information from that account.

Content already uploaded or copied into Mago Stage may remain available according to the organization’s content, retention, and storage policies.

Disconnecting a cloud account does not delete the original files from Microsoft 365 or Google Drive.

### Organization and tenant restrictions

Cloud access can be restricted by:

* Microsoft Entra application-consent policies
* Microsoft Conditional Access
* Google Workspace OAuth controls
* Device-compliance requirements
* User or group assignments
* File-sharing restrictions
* Cross-tenant access policies
* External-user restrictions
* Shared-drive permissions
* Data-loss-prevention policies

A file may appear in the provider’s normal website but remain unavailable through Mago Stage because of an organization policy or unsupported content type.

### Troubleshooting

#### The provider is not shown

Confirm that:

* The correct Mago Stage environment is selected.
* The organization has enabled the provider.
* You are signed in to the correct organization.
* The provider configuration is complete.

Contact the Mago Stage administrator if the provider remains unavailable.

#### The browser does not open

Confirm that:

* A default browser is configured.
* Pop-up windows are allowed.
* External application links are permitted.
* Endpoint security is not blocking the browser.
* The provider’s authentication endpoints are allowed.

#### Administrator approval is required

The organization may require an identity administrator to approve the application or requested permissions.

Do not attempt to bypass the approval process. Send the displayed request or error information to the organization’s Microsoft Entra or Google Workspace administrator.

#### The wrong account was connected

1. Disconnect the account in Mago Stage.
2. Sign out of the incorrect account in the browser when necessary.
3. Start the connection process again.
4. Select the intended account.
5. Confirm the email address before approving access.

#### Files or folders are missing

Confirm that:

* The connected account can access the content.
* The content is shared with the correct account.
* The file is not restricted by organization policy.
* The correct tenant or Google Workspace organization was selected.
* The content type is supported.
* The account connection has not expired.

#### Access has expired

Select **Reconnect**, complete authentication again, and retest the content.

If reconnection continues to fail, an administrator may need to renew consent or review the provider configuration.
