Forum Discussion
Authentication error with Fabric App
- 2 months ago
Hi Aparnaa_MS,
Thank you for sending through the extra details.
Since the same behavior is happening on both office and personal networks, and VPN issues have already been ruled out, this does not appear to be a general network connectivity problem. One point worth noting is the Node.js version you are using (v24.13.1), which is newer than the versions most CLI tools are typically tested against.
Please try an LTS version of Node.js, such as v22.x or v20.x, then reinstall Rayfin CLI and run rayfin login again. That should help confirm whether the issue is related to compatibility between the CLI and the Node.js runtime.
While your IT team looks into any possible proxy or firewall restrictions, it may also be worth checking whether security software is intercepting or blocking authentication requests to Microsoft Entra ID endpoints.
Please let us know whether testing with an LTS Node.js version changes the behavior.
Thank you and continue using Microsoft Fabric Community Forum.
Hello Aparnaa_MS,
Based on the error in your screenshot, the issue appears to be related to the authentication flow rather than the rayfin login command itself.
Since both the browser sign-in and the device code flow are failing with a network_error, I'd recommend checking the following:
Verify that your network, proxy, VPN, or firewall isn't blocking access to Microsoft Entra ID authentication endpoints.
If you're on a corporate network, try connecting from a different network (for example, a mobile hotspot) to rule out network restrictions.
Ensure you're using the latest version of the Rayfin CLI.
If you've already authenticated previously, try clearing any cached credentials and run rayfin login again.
If the issue persists, could you share:
The output of rayfin --version
Your Node.js version (node -v)
Whether you're using a corporate proxy or VPN
This will help determine whether the issue is related to the CLI version, the environment, or network connectivity.
Best regards,
Omkar Shinde
Microsoft Fabric Enthusiast | Power BI Consultant
💡 If you found this response helpful, please consider giving it a Kudos.
✅ If this resolves your question, please mark it as the Accepted Solution to help others in the community.
Hi Omkar_1712
Thanks for the detailed suggestions.
From my testing so far, this does look like a network-related issue on my end:
- I’m not using a VPN, and I’m facing the issue on both office and personal networks.
- I’ve also tried switching networks (including personal network/mobile), but the issue is still consistent.
- Also in contact with IT team for network, proxy, VPN, or firewall isn't blocking issues
Meanwhile, I’ll share:
- rayfin --version: 1.33.1
- node -v: v24.13.1
Best regards,
Aparnaa M S
- v-sgandrathi2 months ago
Community Support
Hi Aparnaa_MS,
Thank you for sending through the extra details.
Since the same behavior is happening on both office and personal networks, and VPN issues have already been ruled out, this does not appear to be a general network connectivity problem. One point worth noting is the Node.js version you are using (v24.13.1), which is newer than the versions most CLI tools are typically tested against.
Please try an LTS version of Node.js, such as v22.x or v20.x, then reinstall Rayfin CLI and run rayfin login again. That should help confirm whether the issue is related to compatibility between the CLI and the Node.js runtime.
While your IT team looks into any possible proxy or firewall restrictions, it may also be worth checking whether security software is intercepting or blocking authentication requests to Microsoft Entra ID endpoints.
Please let us know whether testing with an LTS Node.js version changes the behavior.
Thank you and continue using Microsoft Fabric Community Forum.