Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ConfigureADFS CSE Extention
{
"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
You can’t perform that action at this time.