A Microsoft file hosting and synchronization service.
On iOS, OneDrive access for attaching files in other apps (like Gmail) depends on the OneDrive app being installed, signed in, and allowed to access storage and run in the background.
Try these steps on the iPhone 12:
- Confirm OneDrive is installed and signed in
- Open the OneDrive app.
- If prompted, sign in with the same account where the files are stored.
- Make sure files are visible and can be opened directly in the OneDrive app.
- Allow OneDrive to refresh in the background
- Go to iOS Settings > General > Background App Refresh.
- Ensure Background App Refresh is on and OneDrive is enabled.
- This helps OneDrive stay available when used from other apps.
- Check network and sign‑in status
- In OneDrive, verify that files open normally over the same Wi‑Fi or mobile network used with Gmail.
- If OneDrive shows any sign‑in or connection issues, resolve those first (for example, by re‑entering the password or checking that the internet provider/firewall is not blocking Microsoft 365 services).
- Re-add OneDrive as a file source in Gmail
In the Gmail app when composing an email:- Tap the attachment icon.
- Choose to attach from Files (iOS Files picker).
- In the Files picker, tap Browse > … (More) and ensure OneDrive is enabled as a location.
- If OneDrive is missing, close Gmail, open OneDrive once more, then try again.
- If it still fails, test with another app
- In another app that uses the iOS Files picker (for example, the built‑in Mail app), try attaching a file from OneDrive.
- If OneDrive works there but not in Gmail, the issue is likely specific to Gmail; if it fails in all apps, focus on OneDrive sign‑in, connectivity, and background settings.
If OneDrive itself cannot connect or sign in reliably on iOS, follow the general OneDrive iOS troubleshooting guidance: sign out and back in, verify the account password, and confirm that the network or firewall is not blocking Microsoft 365 services.
References: