Posted on 11-14-2024 07:57 AM
The Autoactivationlink is not passing through to the application. The mobileconfig provided is for Intune, the vendor does not have a Jamf version. I am also having trouble getting it to pull the USERNAME and DEVICE_NAME from the system, I tried the original palceholders {{Username}} {{Devicename}} and the ones you see now.. I have obscured the link as it is unique to our license.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- This profile contains all CIRA DNS Firewall specific settings
For detailed information on these options, please see the MDM specification"
-->
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>ca.cira.secure.remote</key>
<dict>
<key>Forced</key>
<array>
<dict>
<key>mcx_preference_settings</key>
<dict>
<key>DisableInstallLocationCheck</key>
<true/>
<key>DisableEULACheck</key>
<true/>
<key>UserInitiatedActivationAllowed</key>
<false/>
<!-- <key>HideMenuBarExtra</key> -->
<!-- <false/> -->
<!-- <key>ShouldUninstall</key> -->
<!-- <false/> -->
<!-- <key>UserDisableAllowed</key> -->
<!-- <true/> -->
<key>AutoActivation</key>
<dict>
<key>AutoActivationLink</key>
<string><![CDATA[https://cira.sxxxxx]]></string>
<key>FirstName</key>
<string>USERNAME</string>
<key>LastName</key>
<string>DEVICE_NAME</string>
</dict>
</dict>
</dict>
</array>
</dict>
</dict>
<key>PayloadIdentifier</key>
<string>ca.cira.secure.remote.Client_Settings.mobileconfig</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>26a292a4-eaff-4670-a5b5-0fe6ab42d0a3</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Included custom settings:
ca.cira.secure.remote
</string>
<key>PayloadDisplayName</key>
<string>MCXToProfile: ca.cira.secure.remote</string>
<key>PayloadIdentifier</key>
<string>CIRA DNS Firewall Client Settings</string>
<key>PayloadOrganization</key>
<string>Cira</string>
<key>PayloadRemovalDisallowed</key>
<true/>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>e67e6e59-ef49-463c-8656-ae6113304238</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Solved! Go to Solution.
Posted on 11-14-2024 09:20 PM
this is the variable you need to use in your plist for getting the username and device
$USERNAME
$COMPUTERNAME
string><![CDATA[https://cira.sxxxxx]]></string>
<key>FirstName</key>
<string>$USERNAME</string>
<key>LastName</key>
<string>$COMPUTERNAME</string>
Please refer this for more information
Posted on 11-14-2024 06:30 PM
What application is this for? Also share this using code blocks so we can make sure the formatting is correct. In theory if the vendor provides a .mobileconfig you can just sign it and upload it to jamf without having to do anything else.
Posted on 11-14-2024 09:20 PM
this is the variable you need to use in your plist for getting the username and device
$USERNAME
$COMPUTERNAME
string><![CDATA[https://cira.sxxxxx]]></string>
<key>FirstName</key>
<string>$USERNAME</string>
<key>LastName</key>
<string>$COMPUTERNAME</string>
Please refer this for more information
Posted on 11-15-2024 07:30 AM
@Shyamsundar That got things closer, thank you. The $USERNAME came back blank, $COMPUTERNAME worked.
@AJPinto Apologies, here is the code in Codeblocks. The app is CIRA DNS Firewall.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- This profile contains all CIRA DNS Firewall specific settings
For detailed information on these options, please see the MDM specification"
-->
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>ca.cira.secure.remote</key>
<dict>
<key>Forced</key>
<array>
<dict>
<key>mcx_preference_settings</key>
<dict>
<key>DisableInstallLocationCheck</key>
<true/>
<key>DisableEULACheck</key>
<true/>
<key>UserInitiatedActivationAllowed</key>
<false/>
<!-- <key>HideMenuBarExtra</key> -->
<!-- <false/> -->
<!-- <key>ShouldUninstall</key> -->
<!-- <false/> -->
<!-- <key>UserDisableAllowed</key> -->
<!-- <true/> -->
<key>AutoActivation</key>
<dict>
<key>AutoActivationLink</key>
<string><![CDATA[https://cira.sxxxx]]></string>
<key>FirstName</key>
<string>$USERNAME</string>
<key>LastName</key>
<string>$COMPUTERNAME</string>
</dict>
</dict>
</dict>
</array>
</dict>
</dict>
<key>PayloadIdentifier</key>
<string>ca.cira.secure.remote.Client_Settings.mobileconfig</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>26a292a4-eaff-4670-a5b5-0fe6ab42d0a3</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Included custom settings:
ca.cira.secure.remote
</string>
<key>PayloadDisplayName</key>
<string>MCXToProfile: ca.cira.secure.remote</string>
<key>PayloadIdentifier</key>
<string>CIRA DNS Firewall Client Settings</string>
<key>PayloadOrganization</key>
<string>Cira</string>
<key>PayloadRemovalDisallowed</key>
<true/>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>e67e6e59-ef49-463c-8656-ae6113304238</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Posted on 11-15-2024 08:14 AM
if the Username is associated with the computer in Jamf Pro than it won't be empty.