You know about (and actively using) the Windows Admin Center (WAC), right?! 😉
While it’s great for managing your Microsoft infrastructure, it can also be extended with different extensions. You can even write and use your internal, custom extensions, which do… well, whatever you make them do. And you can read all about that here.
But let’s go back to the subject of today’s post – extensions can be installed via different feeds, either official or unofficial, provided by Microsoft or 3rd-party. You can easily add new feeds or remove existent by providing the feed location, which can be either a NuGet feed URL or a file share location, as stated in the official docs.
Using a file share location is easy:
- you choose/create a folder:
- share it (\\<my_server_name>\WACExtensions in my case):
- and add it to your feeds – I’ll use the “PowerShell way”:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# import the WAC Extensions PowerShell module Import-Module "C:\Program Files\Windows Admin Center\PowerShell\Modules\ExtensionTools" # list current feeds Get-Feed -GatewayEndpoint "https://wac.tklabs.eu/" ### https://aka.ms/sme-extension-catalog-feed # add new extension feed (network share) Add-Feed -GatewayEndpoint "https://wac.tklabs.eu/" -Feed "\\<my_server_name>\WACExtensions" # check if added successfully Get-Feed -GatewayEndpoint "https://wac.tklabs.eu/" ### https://aka.ms/sme-extension-catalog-feed |
But no!
My feed seems to be added successfully, but it’s not showing in the list!
You can try the same through the web interface – it’s almost the same (OK, you’ll get the errors):
And permissions are fine, don’t worry. 😉
Why’s that?!
The catch here is that we added an empty folder/share – when adding this share, WAC intelligently looked into the folder, found nothing and (successfully) didn’t add our share to the feed list, as it’s empty. And yes, it also forgot to mention it when using PowerShell.
So, what can be done?
The workaround/solution is rather simple – just make sure you don’t add an empty feed/folder.
Just for fun – I’ve downloaded the HPE Extension for WAC, moved it into the WACExtensions shared folder and tried to add the feed again:
1 2 3 4 5 6 7 |
# add new extension feed (network share) Add-Feed -GatewayEndpoint "https://wac.tklabs.eu/" -Feed "\\<my_server_name>\WACExtensions" # check if added successfully Get-Feed -GatewayEndpoint "https://wac.tklabs.eu/" ### https://aka.ms/sme-extension-catalog-feed ### \\<my_server_name>\WACExtensions |
And – it worked! 😊
Cheers!