Package Details: microsoft-azure-vpn-client-bin 3.0.0-1

Git Clone URL: https://aur.archlinux.org/microsoft-azure-vpn-client-bin.git (read-only, click to copy)
Package Base: microsoft-azure-vpn-client-bin
Description: The official Azure VPN Client, supporting Entra ID and certificates
Upstream URL: https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-entra-vpn-client-linux
Keywords: az, azure-vpn, azvpn, vpn
Licenses: proprietary
Provides: microsoft-azure-vpn-client, microsoft-azurevpnclient
Submitter: trovao
Maintainer: trovao
Last Packager: trovao
Votes: 1
Popularity: 0.034844
First Submitted: 2024-07-30 14:13 (UTC)
Last Updated: 2024-12-19 02:21 (UTC)

Latest Comments

1 2 Next › Last »

Dwa30v commented on 2025-02-13 22:36 (UTC) (edited on 2025-02-14 15:05 (UTC) by Dwa30v)

$ /opt/microsoft/microsoft-azurevpnclient/microsoft-azurevpnclient

(process:1892): GLib-GIO-CRITICAL **: 17:15:50.861: g_application_set_application_id: assertion 'application_id == NULL || g_application_id_is_valid (application_id)' failed

(microsoft-azurevpnclient:1892): Gdk-CRITICAL **: 17:15:50.893: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'String' of 'other'
#0      _MainScreenState.connectProfile (package:AzureVpnClient/mainscreen.dart:603)
#1      _MainScreenState.getProfilePaneItems.<anonymous closure> (package:AzureVpnClient/mainscreen.dart:436)
#2      DropDownButtonState.open.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:fluent_ui/src/controls/inputs/dropdown_button.dart:344)
#3      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:275)
#4      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:654)
#5      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:311)
#6      BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:244)
#7      PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:630)
#8      PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98)
#9      PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143)
#10     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:625)
#11     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141)
#12     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127)
#13     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:488)
#14     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:468)
#15     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:333)
#16     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:413)
#17     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:376)
#18     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:323)
#19     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:292)
#20     _invoke1 (dart:ui/hooks.dart:186)
#21     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:424)
#22     _dispatchPointerDataPacket (dart:ui/hooks.dart:119)

SOLUTION (as stated in earlier comments):
Add VERSION="0" at the end of your /etc/os-release

Dwa30v commented on 2025-02-13 13:50 (UTC) (edited on 2025-02-14 11:25 (UTC) by Dwa30v)

There is no executable on the system starting with microsoft-azure, microsoft-vpn, or azure. So, how does one run this program?

UPDATE:
Found the bin at
/opt/microsoft/microsoft-azurevpnclient/microsoft-azurevpnclient

ZerkerEOD commented on 2025-01-09 13:15 (UTC) (edited on 2025-01-09 13:15 (UTC) by ZerkerEOD)

@jaksim, you are my hero. We already found a different way to facilitate the testing that I was doing, but I have this written down for next year. I confirmed systemd-resolved was disabled and inactive, I enabled it and ran the connection and it started right up. Thanks!!!

jaksim commented on 2025-01-09 13:01 (UTC) (edited on 2025-01-09 13:01 (UTC) by jaksim)

I've had exactly the same issue as @ZerkerEOD. Then I've found this in dbus-monitor --system:

error time=1736426672.921543 sender=:1.0 -> destination=:1.1 error_name=org.freedesktop.systemd1.NoSuchUnit reply_serial=3152
   string "Unit dbus-org.freedesktop.resolve1.service not found."

I fixed it by making sure that systemd-resolved is enabled and running. Now the client connects and the VPN works.

ZerkerEOD commented on 2024-12-27 18:49 (UTC) (edited on 2024-12-27 19:02 (UTC) by ZerkerEOD)

I am getting the error Connection failed: Couldn't set DNS server/domains. Please check logs for detailed errors. There are no detailed logs. I tried disabling NetworkManger and my other OpenVPN connection. Through journalctl --xe --follow --user I can see that it errors out with the following: TId:[37960] sd_bus_call method failed to set DNS servers with error: No such device or address. After that I get an error trying to delete the route for the tun interface using SIOCDELRT due to No such Proccess. The other comment about this said it turned out being tailscale for them, but I don't have that and I stopped my OpenVPN and NetworkManager and still get the same errors. I am baffled. As note, my user is in the network group.

trovao commented on 2024-12-19 02:22 (UTC)

Thanks @Piroro-hs. Updated the package to reflect that.

Piroro-hs commented on 2024-10-31 09:16 (UTC)

@trovao The microsoft-edge-stable package is not required, what it needs is xdg-open from xdg-utils package and a browser (I confirmed that firefox is ok).

MigueldeCarvalho commented on 2024-10-22 18:48 (UTC) (edited on 2024-10-22 23:09 (UTC) by MigueldeCarvalho)

Hey, I fixed the first problem by adding VERSION="0" to the /etc/os-release. After I login it gives me an error Connection failed: Couldn't set DNS server/domains. Please check logs for detailed errors.

Eit: Turns out it was caused by Tailscale daemon, I stopped it, run the Azure VPN and after that it connect and I was able to turn it back on and was working successfully

likwidsage commented on 2024-10-04 01:23 (UTC)

Getting the same issue as below. On Ubuntu as well.

iceman9665 commented on 2024-09-17 04:48 (UTC) (edited on 2024-09-17 04:51 (UTC) by iceman9665)

After adding VERSION=0 in /etc/os-release, it connects - get sign in page but the callback url error page is displayed (address bar has https://localhost:2023)

AADSTS650057

journalctl -xe --follow --user also displays the same error

Authentication failed. You can return to the application. Feel free to close this browser tab.

Error details: error invalid_client error_description: AADSTS650057: Invalid resource. The client has requested access to a resource which is not listed in the requested permissions in the client's application registration. Client app ID: <id>(Azure VPN). Resource value from request: <id> . Resource app ID: <>. List of valid resources from app registration: . Trace ID: 38b8a3f1-74fa-4d8f-abfa-0a179e3a7200 Correlation ID: <> Timestamp: 2024-09-17 04:45:04Z