How to Share Encrypted Microsoft Office Files with Gmail Users
Question details
External Gmail recipients are unable to open an encrypted Office file and encounter an error message after authenticating.

- Product
- Microsoft Office
- Device & OS
- not provided
- Scenario
- A user is attempting to securely share an encrypted document via SharePoint, Exchange, or guest access with an external user using a Gmail address.
- Observed behavior
- The Gmail recipient successfully authenticates but receives a "Sorry, something went wrong" error when trying to view the encrypted file, whereas unencrypted files open normally.
Verify that your Microsoft 365 tenant settings allow external guest access and ensure the applied encryption label does not restrict viewing strictly to internal organization members.
Instruct the Recipient to Use Microsoft 365 Web Apps
This is the most reliable method for external non-Microsoft accounts to access encrypted tenant documents without requiring desktop licenses.
External users with Gmail addresses typically cannot use desktop Office applications to sign into and view encrypted documents hosted in another organization's tenant. Accessing the file via the web browser ensures the authentication token routes correctly through the sender's tenant environment as a guest user.
Have the Gmail recipient open the original sharing email from SharePoint or OneDrive and click the link to the document.
When prompted on the Microsoft authentication page, the recipient should select the option to send a one-time passcode to their Gmail address.
The user must check their Gmail inbox for the code, return to the browser portal, and enter it to verify their identity.
The encrypted document will now open and display properly in Word Online, Excel Online, or PowerPoint Online.

Register the Gmail Address as a Microsoft Account
Use this solution if the external user absolutely must edit or view the encrypted document using their desktop Microsoft Office applications.
Contact Microsoft Support for Advanced Troubleshooting
If both web app access and account registration fail, the issue may lie deep within your Exchange or Microsoft Purview Information Protection configurations.
Experience Seamless File Sharing with WPS Office
If navigating complex Microsoft encryption permissions and external guest access is slowing you down, consider switching to WPS Office. It provides powerful built-in file protection and password encryption that is incredibly easy to manage, ensuring smooth and secure file sharing with anyone, regardless of their email provider.
- 1. Open your document: Launch WPS Office and open the file you wish to securely share.
- 2. Apply password encryption: Go to the Menu, select 'File', then 'File Information', and click on 'Encryption' to set a secure password.
- 3. Share with ease: Send the encrypted file to your recipient and securely provide them with the password. They can open it instantly in WPS Office or other compatible suites without account errors.

Frequently Asked Questions
Why do unencrypted files open normally while encrypted ones show an error?
Unencrypted files do not trigger the strict authentication and rights management checks required by Microsoft Purview Information Protection. Encrypted files demand verifiable credentials, which often fail if the external user attempts to use a desktop application without a registered Microsoft account.
Can a Gmail user open a Microsoft encrypted file on their mobile device?
Yes, but they should ideally use the Microsoft 365 mobile app. They will need to authenticate using the one-time passcode sent to their Gmail address, similar to the process required for the web app.
What is a Microsoft-enabled account?
A Microsoft-enabled account is any email address (including third-party addresses like Gmail or Yahoo) that has been formally registered with Microsoft to access its services, allowing it to hold permissions and licenses within the Microsoft ecosystem.




