Azure Network Adapter failing to appear in Windows Admin Center. Windows Server 2016

William Earl 21 Reputation points
2022-11-29T04:07:42.363+00:00

Hi all!

I'm really hitting a wall with this one. Been looking around everywhere but I don't feel like I'm making any progress now and I can't find anything to point me in the right direction. I'm fairly certain it must be a configuration issue somewhere but I can't for the life of me figure out what the issue is.

So I've installed WAC on a standalone server, to test out the Azure Network Adapter tech as a potential solution for managing a vpn for a hybrid environment.
I can complete all the steps to add the azure network adapter and the VPN gateway is actually created succesfully in Azure. The request is submitted and it gives me the friendly message that it will take a few minutes. Then nothing. No further status updates or anything.

Whenever I try adding an ANA the event log reports the following:
1:
sessionId : 955a66fc-406a-479a-80aa-086a48321db7
eventId : Trace
level : Error
sourceName : msft.sme.shell
source : ToolConditionValidator
timestamp : 1669643171678
message : msft.sme.packetmon!main: (1) RemoteException: The term 'pktmon' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
(2) RemoteException: The variable '$pktmonHelp' cannot be retrieved because it has not been set.
stack :
moreEventData :

and

2:
sessionId : 1c8f66c0-715a-4a9b-b800-ca7d0574af14
eventId : Trace
level : Error
sourceName : msft.sme.network-settings
source : appErrorHandler
timestamp : 1669643504539
message : Cannot set property valid of [object Object] which has only a getter
stack : TypeError: Cannot set property valid of [object Object] which has only a getter
at e.onChangeGatewayVmSku (https://localhost:6516/modules/msft.sme.network-settings/13.20eacbf772225b0f6319.js:1:42664)
at https://localhost:6516/modules/msft.sme.network-settings/13.20eacbf772225b0f6319.js:1:66021
at po (https://localhost:6516/modules/msft.sme.network-settings/vendor.angular.0aee6b7f38dc37894ad6.js:757:1031)
at Object.n [as next] (https://localhost:6516/modules/msft.sme.network-settings/vendor.angular.0aee6b7f38dc37894ad6.js:757:1240)
at h.__tryOrUnsub (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:16541)
at h.next (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:15762)
at a._next (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:14933)
at a.next (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:14707)
at Ml.next (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:34892)
at Ml.emit (https://localhost:6516/modules/msft.sme.network-settings/vendor.angular.0aee6b7f38dc37894ad6.js:1041:138)
moreEventData :

3:
sessionId : 1c8f66c0-715a-4a9b-b800-ca7d0574af14
eventId : Trace
level : Error
sourceName : msft.sme.network-settings
source : appErrorHandler
timestamp : 1669643642075
message : You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.
stack : TypeError: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.
at h (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:31147)
at o (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:36762)
at u.error (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:26328)
at o._error (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:14968)
at o.error (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:14765)
at h._error (https://localhost:6516/modules/msft.sme.network-settings/msftsme.core.86129f6980a0907c4880.js:1:150378)
at h.__tryOrUnsub (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:16541)
at h.error (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:16001)
at a._error (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:14968)
at a.error (https://localhost:6516/modules/msft.sme.network-settings/vendor.rxjs.3efce1a7515cbecfc69b.js:1:14765)
moreEventData :

Now the above lead me to believe that there's some kind of permissions or configuration element missing that is not allowing WAC to update the network adapters.

OS is Windows server 2016 - all up to date
The WAC app is registered in our azure active directory and permissions have been granted. Not sure what else would be required on that side.
I'm connected as the local administrator
I believe the firewall config is correct.
There is only the 1 NIC with a public IP assigned to it.

The reason I'm doing all this is because the simply Point to Site VPN in Azure doesn't allow me to maintain an always-on connection state as it times out after 4 minutes and we need to have a static IP address for this machine to talk to azure securely. I know, I should probably just look at Hybrid Connections but I want to try configure this right so I can replicate it in a different environment.

It might be that I'm missing some kind of Windows Server role or feature. I could not find a list of required windows server features for this.

I'm quite frustrated as I've spent quite a bit of time on this now and none of the guides or conversations around the Azure Network Adapter touch on what to really do if it just doesn't show up.\

Thanks for reading and considering!

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,451 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,291 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,430 questions
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 41,071 Reputation points Microsoft Employee
    2022-11-29T05:37:17.437+00:00

    Hi @William Earl ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
    I understand that you are trying to configure Windows Admin centre + Azure Network Adapter for Point-to-Site VPN connection.

    I am afraid, Windows Admin center is currently not supported in Q&A platform.

    If you are interested in Always On VPN with Azure VPN gateway, I would suggest you check out the following:

    Hope this helps.

    Cheers,
    Kapil


0 additional answers

Sort by: Most helpful