The worklet named Configure Palo Alto GlobalProtect in specific should give you what you’re looking for, and allow for enforcement of the Portal configuration in one Worklet.
I hope this helps!
Have a great day!
Thanks john. Will this still be under 2 tasks to uninstall and then install again
It will check to see that the Portal setting matches what you specify in the $Portal variable.
If it does not match, the device will be flagged for remediation to set and configure the new Portal value. If the device does not have GlobalProtect installed, it will be flagged for remediation to install the software with the correct Portal value.
Be sure to upload both the 32-bit and-64 bit GlobalProtect MSIs to the Worklet Payload:
You’ll also want to ensure that you complete this variable in the Evaluation Code:
And these within the remediation code:
Note: the $32bitFileName and $64bitFileName variables should match the exact name of the installers you upload to the Worklet’s payload.