I am a little confused. According to https://docs.microsoft.com/en-us/powershell/module/azurerm.aks/?view=azurermps-6.2.0 AzureRM.Aks should be a part of AzureRM 6.2.
I have AzureRM 6.2.1 installed but AzureRM.Aks is nowhere to be found.
Since all the examples are CLI or Portal I assume that AzureRM.Aks is on its way. If so it would be nice to get some indication of when? Weeks, months…
Alternatively I have missed something and need to install AzureRM.Aks manually? If so I am probably not the only one and an example would be nice :-)
Regards Peter
Get-Module -list | where Name -Like "AzureRM*" | Select-Object Name, Version | Sort-Object -Property Name | Select -First 5
Name Version
---- -------
AzureRM 6.2.1
AzureRM.AnalysisServices 0.4.0
AzureRM.AnalysisServices 0.5.0
AzureRM.AnalysisServices 0.0.3
AzureRM.AnalysisServices 0.3.1
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@theheatDK Thanks for the feedback! We are currently investigating and will update you shortly.
@neilpeterson any idea what is going on with this module? I can confirm that it is not in the 6.2 AzureRM package and I can't find it as a stand alone.
As far as I know, a PowerShell module for AKS is not yet ready.
Adding @seanmck to confirm.
Thanks
@theheatDK as of now it looks like we do not actually have the PowerShell module for AKS ready for the public which is why you are not seeing it when installing the AzureRM module. @neilpeterson and I are working to determine when it might become available.
The module is currently available as pre-release. You can install with:
Install-Module -AllowPrerelease AzureRM.Aks
We have some updates to do to align it with the GA AKS API, but it should be "GA" in a few weeks.
Thanks @seanmck!
I tried the command but it is not finding the -AllowPrerelease command. Is there something special we have to do to get that to work?

Try running Install-Module PowerShellGet first.
Still not recognizing it.
I tried both with my local PS and CloudShell.
I am running 6.3 so it is fully updated.
Try restarting PS after you run the PowerShellGet command.
Thanks @seanmck. That was it :) The classic "Turn it off and on again" trick as usual.
@theheatDK Please try the following:
Get-Module PowerShellGet
Install-Module PowerShellGet -Force
Restart your PS session
Install-Module -AllowPreRelease AzureRM.AKS
Thanks all. I got it installed :-)
@seanmck this module is still available only as pre-release. When is it expected to GA?
I would love to see this process documented somewhere. I ran into this issue several weeks (months?) back and didn’t find this thread at the time.
The reference docs (which I realize are more or less automatically generated from the cmdlets/help text) don’t make any reference the prerelease status of these cmdlets. I found a comment to that effect here eventually, but GitHub issues aren’t quite documentation :blush: and it still wasn’t clear how to get a working install at that point.
Thoughts? I don’t believe these modules have moved past prerelease; seems like there is some restructuring going on in azure powershell prior to these eventually stabilizing AFAICT. So this is very much something customers could still run into.
Most helpful comment
Thanks all. I got it installed :-)