Created
September 25, 2016 11:44
-
-
Save nivleshc/c1c24744d0789e4b095d2f74e87860c0 to your computer and use it in GitHub Desktop.
ConfigureADFS CSE Extention
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "Microsoft.Compute/virtualMachines/extensions", | |
"name": "[concat(parameters('ADFS01VMName'),'/ConfigureADFS')]", | |
"apiVersion": "2015-05-01-preview", | |
"location": "[resourceGroup().location]", | |
"dependsOn": [ | |
"[concat('Microsoft.Compute/virtualMachines/', parameters('ADFS01VMName'))]", | |
"[concat('Microsoft.Compute/virtualMachines/', parameters('ADFS01VMName'),'/extensions/InstallADFS')]" | |
], | |
"properties": { | |
"publisher": "Microsoft.Compute", | |
"type": "CustomScriptExtension", | |
"typeHandlerVersion": "1.4", | |
"autoUpgradeMinorVersion": true, | |
"settings": { | |
"fileUris": [ | |
"[variables('ConfigureADFSScriptUrl')]" | |
], | |
"commandToExecute": "[concat('powershell.exe -file ConfigureADFS.ps1',' -DomainName ',parameters('domainName'),' -DomainAdminUsername ',parameters('adminUsername'),' -AdfsSvcUsername ',parameters('AdfsSvcUsername'))]" | |
} | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment