File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src-tauri/resources-windows Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88
99 <!-- Define public properties that can be passed to the MSI -->
1010 <Property Id =" PROVISIONING" Secure =" yes" />
11- <Property Id =" ADATTRIBUTE" Value =" extensionAttribute1 " />
11+ <Property Id =" ADATTRIBUTE" Value =" defguardProvisioningConfig " />
1212
1313 <!-- Custom action to run the PowerShell script -->
1414 <CustomAction Id =" RunProvisioningScript"
Original file line number Diff line number Diff line change 77. DESCRIPTION
88 This script detects whether the computer is joined to on-premises Active Directory
99 or Entra ID (Azure AD), then fetches Defguard provisioning data (URL and enrollment token) from the appropriate source.
10- - On-premises AD: Reads from extensionAttribute1 and extensionAttribute2
10+ - On-premises AD: Reads from specified attribute (default: defguardProvisioningConfig)
1111 - Entra ID: Reads from custom security attributes under the 'Defguard' set
1212 - Workgroup: Exits gracefully
1313 The retrieved enrollment data is saved to a JSON file for the Defguard client to use.
1414
1515. PARAMETER ADAttribute
16- Specifies which Active Directory attribute to read from (default: extensionAttribute1 )
16+ Specifies which Active Directory attribute to read from (default: defguardProvisioningConfig )
1717#>
1818
1919param (
20- [string ]$ADAttribute = " extensionAttribute1 "
20+ [string ]$ADAttribute = " defguardProvisioningConfig "
2121)
2222
2323# Check device join status
You can’t perform that action at this time.
0 commit comments