Why Does a Cloud App Request a Login Again After a VPN IP Change?
Your cloud storage, mail or notes app suddenly wants a password or a code after the VPN connects. This guide explains the IP change as a risk signal and how to check a prompt is real.
11 min readUpdated Nov 22, 2026By XPASS Editorial Team

You connect your VPN, open your cloud storage app, mail client or notes app, and it asks for your password again. Sometimes it also wants a six-digit code or a tap on your phone. You were signed in a minute ago, so it is fair to wonder whether the VPN broke something, or whether someone else is trying to get into your account.
In most cases the cause is simple. The service sees a different public IP address than before, and many services treat a change of network as a moment to double-check who is on the other end. This article explains that logic from the point of view of a generic cloud app, why the IP change counts as a risk signal, how to tell a genuine prompt from a fake one, and which prompts you should never approve. For the narrower case of office suites after a server switch, see cloud office apps after a VPN server switch.
What a cloud app actually sees when the IP changes
Every request your device makes to a cloud service arrives from a public IP address. Without a VPN, that address belongs to your home connection, your mobile network or the Wi-Fi you are on. With a VPN connected, the service sees the address of the VPN server instead. The basics of addressing are described in RFC 791, and our explainer on what happens to a session when the public IP changes covers the mechanics in more detail.
When you connect, disconnect or switch servers, the address the service sees changes in the middle of an otherwise normal session. Nothing about your account has changed, but one of the facts the service uses to recognise you has. Some services notice this immediately, some only when a token is refreshed, and some never react. That variation is normal, and it explains why the same VPN may cause a prompt in one app and none in another.
It is also worth separating two things that look alike. One is the session ending, where the app signs you out and asks you to log in from scratch. The other is a step-up check, where you stay signed in but the service asks for an extra confirmation before it shows sensitive data or allows a change. Both can follow an IP change, and both are the service's own design choice, not something the VPN does to your account.

Why an IP change counts as a risk signal
A service has very little information about who is really typing. It sees a token or cookie, a device, a browser or app version, a rough location derived from the IP address, and a pattern of past behaviour. The IP address is one of the cheaper signals to check, so it is widely used.
Think of it from the service's side. If a session that was open in one network suddenly appears from a different network, there are two plausible stories. In the ordinary one, the owner moved from Wi-Fi to mobile data, or turned on a VPN. In the worrying one, somebody obtained a session token or a password and is using it from elsewhere. The service cannot always tell these apart, so many of them choose to ask again. That costs the genuine owner a few seconds and costs an attacker a lot more.
The NIST guidance on digital identity, SP 800-63B, describes sessions and re-authentication as ways to limit the damage when a credential or a session is stolen. A prompt after a network change is a small, everyday example of that idea. It is a sign the system is working, even when it interrupts you.
What the IP signal does not do is prove anything. A new address is not evidence of a break-in, and an unchanged address is not evidence of safety. It is one input among several, and each provider weighs it in its own way, without publishing the rules. We cannot tell you how a particular app will react, and neither can a VPN.
A simple example
Suppose you start the morning on home Wi-Fi with your notes app signed in. You connect the VPN before opening a shared drive at a cafe. A minute later the drive app shows a sign-in screen and asks for a code from your authenticator app.
Check the story against what you did. You changed the network, the prompt appeared right after, and you opened the app yourself. That matches. You enter the code from your own authenticator, and the session continues. Later in the day you switch to another VPN server and see another prompt shortly after. That also matches, and it is a hint that switching often invites more checks.
Now suppose instead that you did nothing, your phone is on the desk, and a push notification appears saying "Approve sign-in?" from a city you do not recognise. That does not match anything you did. The right move is to deny it, not to wonder whether it is a glitch. We cover the difference in real versus push-bombing two-factor prompts.
The test is always the same: does the prompt line up with an action you just took, on a device you control, in an app or site you opened yourself?
How to check that a prompt is genuine
A few quick checks take less than a minute and remove most of the guesswork.
- Match the timing. Did you connect, disconnect, switch server or change Wi-Fi in the last minute or two? If yes, a prompt is plausible. If no, be more careful.
- Check where it came from. A prompt inside the app you just opened is far more trustworthy than one that arrives by email, text or a pop-up while you are doing something else.
- Open the service yourself. Close the prompt and open the app from your home screen, or type the service's address in the browser, rather than tapping a link in a message. The CISA guidance on phishing recommends exactly this habit.
- Read the details. Many prompts show a device name, an approximate place and a time. They are not always accurate, especially with a VPN, but a device type you do not own is a clear warning.
- Look at recent activity. Most services have an account activity or security page listing recent sign-ins and signed-in devices. See how VPN countries appear in a security activity log for what to expect there.
- Ask the right question about codes. A code you requested yourself, on a screen you opened, is fine to enter there. A code you are asked to read out to someone, or type into a page you reached from a message, is not.
If any check fails, close everything and go to the service's official page by hand. Do not continue from inside the prompt.
Prompts you should not approve
Some prompts are not the service checking you at all. They are somebody else trying to get in, or a scam copying the look of a login screen.
| Situation | Likely meaning | What to do |
|---|---|---|
| Push approval arrives and you did nothing | Someone may have your password | Deny it, change the password from the official site, review devices |
| Several approvals in a row | Repeated attempts hoping you tap by mistake | Deny every one, do not approve to make them stop |
| A caller or chat asks you to read out a code | A scam asking for your one-time code | Hang up, never share the code, contact the service directly |
| A message with a link says "verify your cloud account" | Possible phishing page | Do not use the link, open the service yourself |
| A login page looks right but the address is slightly off | Lookalike page | Close it, type the real address by hand |
| A prompt shows an unknown device or a country you were never in | Possibly a real attempt or an inaccurate location | Deny, then check the activity page |
Approving a prompt you did not start can hand your account to the person who triggered it. When in doubt, the safe answer is deny, then investigate. If it was genuinely you, the app will simply ask again.
Do not treat the VPN as a reason to relax here. A VPN changes the address the service sees. It does not stop a phishing page from looking real and does not make a code you hand over any less valuable.
How to reduce unnecessary re-login prompts
You cannot force a service to stop asking, and you should not try to bypass a security check. You can, however, make the ordinary interruptions rarer.
- Connect first, then open the app. If you start the VPN before you open your cloud apps, the first session already uses the VPN address, so there is no change in the middle of the session.
- Pick one server and stay on it. Switching servers repeatedly changes the address each time. For a working session, choose a location and keep it.
- Keep the same device and the same app. A known device is a strong, separate signal. Signing in from many different browsers or devices adds checks.
- Stay signed in on trusted devices. Use the service's normal option for remembering a trusted device where it exists, and only on devices that are yours.
- Keep your sign-in methods up to date. An authenticator app or passkey is usually quicker and safer than a code by text. CISA explains why a second factor matters.
- Check the clock. A device with a wrong date or time can cause odd sign-in failures, because time-based codes depend on it.
These steps help with the harmless prompts. They do nothing for the prompts in the previous section, which you should still treat with caution.

What to do after a prompt you did not expect
If a prompt or code arrives that you did not trigger, handle it in order.
- Deny or ignore it. Do not tap approve, and do not enter a code you did not request.
- Do not reply to messages. Do not respond to any email, text or call linked to the prompt.
- Change your password. Go to the service's official site yourself, sign in, and change the password. Use a unique one that you do not use elsewhere.
- Review signed-in devices and sessions. Sign out of everything you do not recognise. Our guide to reviewing active sessions on a temporary device walks through the habit.
- Check security settings. Look at recovery email, phone number and any connected apps for changes you did not make.
- Turn on or tighten two-factor. If it is off, turn it on. If you use texts, consider an authenticator app or passkey.
- Report it if it looks like phishing. Most services have a way to report a fake message.
If you work with an organisation's account, tell the IT team, because they may need to review the account on their side and may have rules about which networks can be used.
Limits: what a VPN and this article cannot tell you
A few honest limits apply.
First, we cannot predict whether a given cloud app will ask for a login after an IP change. Providers do not publish the rules, and the rules change. A prompt in one app and none in another is not a sign that either is broken.
Second, a VPN does not guarantee that a service will accept your connection or leave your session alone. Some services take stricter steps for addresses shared by many users, and that is the provider's decision.
Third, a genuine-looking prompt can still be fake. Timing and design can both be copied. The strongest check is the one you control, which is opening the service yourself and looking at the account's own activity page.
Fourth, location shown in a prompt or activity log is an estimate from the IP address and can be wrong, especially with a VPN. Do not use it as proof either way.
Fifth, if the account belongs to your employer or school, their policy comes first. A personal VPN does not replace it, and you should not use one to hide where you are working from an organisation that expects to know.
Finally, a VPN is one tool. It does not replace a strong password, two-factor sign-in or careful attention to the address you are typing into.
Summary
A cloud app may ask you to log in again after a VPN IP change because the address it sees has changed, and many services treat that as a reason to confirm who you are. It is often routine, and it is the service's own decision rather than something the VPN controls. Match the prompt to what you just did, open the service yourself, and check the account activity before you act. Deny any prompt or code you did not trigger, change your password from the official site, and review your signed-in devices. To keep interruptions small, connect before you open the app and stay on one server for the session. If you want a pass you can connect for a fixed number of days and use that way, you can look at the options on the pricing page.
Frequently asked questions
Why does a cloud app ask me to log in again after my VPN IP changes?
The service sees a different public IP address and may treat the change as a reason to confirm who you are. Whether and when it asks is the service's own decision, and a VPN does not control it.
Is an unexpected login prompt a sign that my account was hacked?
Not by itself. If you just connected, disconnected or switched VPN server, a prompt is a plausible routine check. If you did nothing and a prompt or code arrives anyway, treat it as suspicious and do not approve it.
How can I tell whether a login prompt is genuine?
Match it to something you just did, open the app or the service's official address yourself instead of using a link in a message, and check the account's recent activity page. If any of those do not line up, do not approve.
Should I approve a push notification I did not trigger?
No. Deny it, then change your password through the official site and review the signed-in devices. A prompt you did not start can mean someone else has your password.
Will my unsaved work be lost when the app asks me to sign in?
Often not, because many apps keep drafts locally or in the cloud, but this is not guaranteed and differs by app. Save or sync important files before you change servers.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

Privacy Guides
Why Does a Cloud Office App Ask You to Sign In Again After Switching VPN Servers?
You change VPN server and your cloud office app asks for your password or a code again. Here is why that can happen, what is normal, and how to keep the interruptions small.
11 min read

VPN Basics
Can a VPN Session Continue After Your Public IP Address Changes?
Your public IP address can change while a VPN is connected. Sometimes the session carries on, sometimes it stalls and must be rebuilt. Here is how to tell which, and why.
11 min read

VPN Security
How Can You Tell a Real Two-Factor Prompt from a Push-Bombing Attempt?
A prompt you did not trigger is a warning, not a nuisance. This guide shows how to recognise push bombing, what to do in the first minutes, and what a VPN can and cannot change.
10 min read