Azure Active Directory login extensions and errors you can come across
I’ve been playing with the Azure Active Directory login extensions for both Linux and Windows in the past months and I’ve came across a few errors and problems I wanted to share with you. But before sharing the problems with you, lets see how you can install the extension Linux extension setup As there as multiple ways to enable the extension, you can follow the documentation here. If you are using ARM to deploy, use the following resource snippet
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
{ "type": "Microsoft.Compute/virtualMachines/extensions", "apiVersion": "2019-12-01", "name": "[concat(variables('vmName'),'/', 'AADLoginForLinux')]", "location": "[parameters('location')]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines',variables('vmName'))]" ], "properties": { "publisher": "Microsoft.Azure.ActiveDirectory.LinuxSSH", "type": "AADLoginForLinux", "typeHandlerVersion": "1.0", "autoUpgradeMinorVersion":true } } |
Windows extension setup Similarly, like the linux extension, you can following the documentation here. If you are using ARM to deploy, use the following resource snippet
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
{ "type": "Microsoft.Compute/virtualMachines/extensions", "apiVersion": "2019-12-01", "name": "[concat(variables('vmName'),'/', 'AADLoginForWindows')]", "location": "[parameters('location')]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines',variables('vmName'))]" ], "properties": { "publisher": "Microsoft.Azure.ActiveDirectory", "type": "AADLoginForWindows", "typeHandlerVersion": "1.0", "autoUpgradeMinorVersion":true } } |
Errors and problems Along with the problems/troubleshooting that appears in the documentation, here…
Read more