<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Intune - MacOS Agent Installation in Endpoint Privilege Manager (EPM) Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349415#M2848</link>
    <description>&lt;P&gt;Now to how it works. I tried a few separate ways to mess with the PKG, but that really went nowhere. On a random Google search, I came across a link where somebody at Microsoft was discussing how to install Mac software with Intune via a bash script: &lt;A alt="https://techcommunity.microsoft.com/t5/intune-customer-success/deploying-macos-apps-with-the-microsoft-intune-scripting-agent/ba-p/2298072" href="https://techcommunity.microsoft.com/t5/intune-customer-success/deploying-macos-apps-with-the-microsoft-intune-scripting-agent/ba-p/2298072" target="_blank"&gt;Deploying macOS apps with the Microsoft Intune scripting agent - Microsoft Community Hub&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This ended up being most of the answer for me. I combined this with a few other policies for our Mac's (described below), and the software was installed via the script from Intune with no issues. I did have to modify the part of the script where it detects the file type from the metadata (PKG, DMG, etc) because of the extra "zlib compressed data" mentioned above:&lt;/P&gt;&lt;CODE&gt; # We can't tell what this is by the file name, lets look at the metadata
                echo "$(date) | Unknown file type [$f], analysing metadata"
                metadata=$(file "$tempfile")
                if [[ "$metadata" == *"Zip archive data"* ]]; then
                    packageType="ZIP"
                    mv "$tempfile" "$tempdir/install.zip"
                    tempfile="$tempdir/install.zip"
                fi
&amp;nbsp;
                if [[ "$metadata" == *"xar archive"* ]] &amp;amp;&amp;amp; [["$metadata" == *"zlib compressed data"* ]]; then
                    packageType="PKG"
                    mv "$tempfile" "$tempdir/install.pkg"
                    tempfile="$tempdir/install.pkg"
                fi
&amp;nbsp;
                if [[ "$metadata" == *"xar archive"* ]]; then
                    packageType="PKG"
                    mv "$tempfile" "$tempdir/install.pkg"
                    tempfile="$tempdir/install.pkg"
                fi
&amp;nbsp;
                if [[ "$metadata" == *"bzip2 compressed data"* ]] || [[[ "$metadata" == *"zlib compressed data"* &amp;amp;&amp;amp; "$metadata" != *"xar archive"* ]]]; then
                    packageType="DMG"
                    mv "$tempfile" "$tempdir/install.dmg"
                    tempfile="$tempdir/install.dmg"
                fi&lt;/CODE&gt;&lt;P&gt;You place the .PKG in an Azure Blob storage (or anywhere the file can be hosted really) and put the link in the script along with a few other user variables I changed to match CyberArk:&lt;/P&gt;&lt;CODE&gt;# User Defined variables
weburl="&amp;lt;Azure Blob Linke Goes Here&amp;gt;"      # What is the Azure Blob Storage URL?
appname="CyberArkEPM"                                                                              # The name of our App deployment script (also used for Octory monitor)
app="CyberArk EPM.app"                                                                              # The actual name of our App once installed
logandmetadir="/Library/Logs/Microsoft/IntuneScripts/installCyberArkEPM"                           # The location of our logs and last updated data
processpath="/Applications/CyberArk EPM.app/Contents/MacOS/CyberArk EPM"                                    # The process name of the App we are installing
terminateprocess="false"                                                                    # Do we want to terminate the running process? If false we'll wait until its not running
autoUpdate="true"   &lt;/CODE&gt;&lt;P&gt;I believe that's all the parts of the script I had to modify.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2022 14:02:40 GMT</pubDate>
    <dc:creator>BackupTerry</dc:creator>
    <dc:date>2022-11-01T14:02:40Z</dc:date>
    <item>
      <title>Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349404#M2837</link>
      <description>&lt;P&gt;Hello out there!&lt;/P&gt;&lt;P&gt;Has anybody been able to deploy the EPM agent via an Intune .PKG to MacOS devices? &lt;/P&gt;&lt;P&gt;I'm having trouble figuring out the right app settings for it to actually install.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 20:43:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349404#M2837</guid>
      <dc:creator>BackupTerry</dc:creator>
      <dc:date>2022-10-24T20:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349405#M2838</link>
      <description>&lt;P&gt;Hello @Terry Duckett​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look here and see if it helps you, this is an example using JAMF, im not sure if it also works for Intune.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Documentation --&amp;gt; &lt;/B&gt;&lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation" target="_blank"&gt;https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;How to --&amp;gt;&lt;/B&gt; &lt;A alt="https://community.cyberark.com/s/article/EPM-How-to-configure-JAMF-for-EPM-Agent-distribution" href="https://community.cyberark.com/s/article/EPM-How-to-configure-JAMF-for-EPM-Agent-distribution" target="_blank"&gt;EPM - How to configure JAMF for EPM Agent distribution (force.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: It only works if you are using the SaaS solution&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 20:53:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349405#M2838</guid>
      <dc:creator>airton_amaral</dc:creator>
      <dc:date>2022-10-24T20:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349406#M2839</link>
      <description>&lt;P&gt;Hello @Terry Duckett​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look here and see if it helps you, this is an example using JAMF, im not sure if it also works for Intune.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Documentation --&amp;gt; &lt;/B&gt;&lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation" target="_blank"&gt;https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;How to --&amp;gt;&lt;/B&gt; &lt;A alt="https://community.cyberark.com/s/article/EPM-How-to-configure-JAMF-for-EPM-Agent-distribution" href="https://community.cyberark.com/s/article/EPM-How-to-configure-JAMF-for-EPM-Agent-distribution" target="_blank"&gt;EPM - How to configure JAMF for EPM Agent distribution (force.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: It only works if you are using the SaaS solution&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 20:53:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349406#M2839</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-10-24T20:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349407#M2840</link>
      <description>&lt;P&gt;Hello @Terry Duckett​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look here and see if it helps you, this is an example using JAMF, im not sure if it also works for Intune.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Documentation --&amp;gt; &lt;/B&gt;&lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation" target="_blank"&gt;https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;How to --&amp;gt;&lt;/B&gt; &lt;A alt="https://community.cyberark.com/s/article/EPM-How-to-configure-JAMF-for-EPM-Agent-distribution" href="https://community.cyberark.com/s/article/EPM-How-to-configure-JAMF-for-EPM-Agent-distribution" target="_blank"&gt;EPM - How to configure JAMF for EPM Agent distribution (force.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: It only works if you are using the SaaS solution&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 20:53:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349407#M2840</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-10-24T20:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349408#M2841</link>
      <description>&lt;P&gt;Hello @Terry Duckett​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look here and see if it helps you, this is an example using JAMF, im not sure if it also works for Intune.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Documentation --&amp;gt; &lt;/B&gt;&lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation" target="_blank"&gt;https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/macOS-InstallAgents.htm#Createapackageformanagedinstallation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;How to --&amp;gt;&lt;/B&gt; &lt;A alt="https://community.cyberark.com/s/article/EPM-How-to-configure-JAMF-for-EPM-Agent-distribution" href="https://community.cyberark.com/s/article/EPM-How-to-configure-JAMF-for-EPM-Agent-distribution" target="_blank"&gt;EPM - How to configure JAMF for EPM Agent distribution (force.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: It only works if you are using the SaaS solution&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 20:53:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349408#M2841</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-10-24T20:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349409#M2842</link>
      <description>&lt;P&gt;We are on SaaS. I will review this again, but I have looked at it once already.&lt;/P&gt;&lt;P&gt;I've got it to where Intune says the app installs, however its not when I look at the Mac we are testing on.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 21:02:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349409#M2842</guid>
      <dc:creator>BackupTerry</dc:creator>
      <dc:date>2022-10-24T21:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349410#M2843</link>
      <description>&lt;P&gt;@Terry Duckett​&amp;nbsp; JAMF is the best tool/platform to use for MacOS. Intune can also cater to MacOS endpoints but it could be limited only to specific apps. Hopefully, EPM could be added in the near future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know if you found a workaround &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 07:25:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349410#M2843</guid>
      <dc:creator>klutzfree</dc:creator>
      <dc:date>2022-10-26T07:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349411#M2844</link>
      <description>&lt;P&gt;I'm trying lol. Intune supports PKG files now. However, getting it to install from Intune is where I'm stuck.&lt;/P&gt;&lt;P&gt;I get "One or more apps contain invalid BundleIDs" (pictured below). If I remove all the bundle IDs except for the main one (top ID in the picture), it reports that the app successfully installs, however it does not.&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__0682J00000MMbJWQA1.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/82934i4D1BE0134793D32D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__0682J00000MMbJWQA1.png" alt="Field_Content_versions_oct20__0682J00000MMbJWQA1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 12:41:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349411#M2844</guid>
      <dc:creator>BackupTerry</dc:creator>
      <dc:date>2022-10-26T12:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349412#M2845</link>
      <description>&lt;P&gt;@Terry Duckett​&amp;nbsp;sounds like you need Intune tech support instead. Have you tried reaching out to them? Also, share to us if they resolved the issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 22:09:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349412#M2845</guid>
      <dc:creator>klutzfree</dc:creator>
      <dc:date>2022-10-26T22:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349413#M2846</link>
      <description>&lt;P&gt;Just a quick update, I am close to having this figured out. Translating JAMF to Intune is a bit confusing in some parts, but I am wood-shedding it out. I'll post the details once I know its working properly.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 18:43:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349413#M2846</guid>
      <dc:creator>BackupTerry</dc:creator>
      <dc:date>2022-10-27T18:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349414#M2847</link>
      <description>&lt;P&gt;Ok, I was able to get this going. I will break this up into a few posts. Let it be known that while I have used Mac's in the past, this is my first time really managing them with Intune ;). So there could be better ways of doing any of what I am reporting!&lt;/P&gt;&lt;P&gt;First here is what I discovered:&lt;/P&gt;&lt;P&gt;I followed the CyberArk instructions for creating a .PKG file. Intune natively supports deploying .PKG files as of today (11/1/2022). However, it would never report that it installed on our test Macbook. It would error out, giving "One or more apps contain invalid BundleIDs."&lt;/P&gt;&lt;P&gt;With Linux (and Mac's) you can run a terminal command named "file" to view what type of file the system thinks said file is. Here is a screenshot comparing a .PKG file for Yubico software against the .PKG file I made following the CyberArk instructions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__0682J00000MNGd2QAH.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/83016i215ACF5D3A76E266/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__0682J00000MNGd2QAH.png" alt="Field_Content_versions_oct20__0682J00000MNGd2QAH.png" /&gt;&lt;/span&gt;I've highlighted the output of the command for each .PKG file, Yubico in red and CyberArk in green. Notice how the CyberArk.pkg file has a longer description, mainly "contains zlib compressed data?" Well, from what I have seen so far at least, "zlib compressed data" is typically only found in .DMG file types. I believe, without any real proof, that this is what was causing Intune to not be able to natively deploy this .PKG file.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 13:47:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349414#M2847</guid>
      <dc:creator>BackupTerry</dc:creator>
      <dc:date>2022-11-01T13:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349415#M2848</link>
      <description>&lt;P&gt;Now to how it works. I tried a few separate ways to mess with the PKG, but that really went nowhere. On a random Google search, I came across a link where somebody at Microsoft was discussing how to install Mac software with Intune via a bash script: &lt;A alt="https://techcommunity.microsoft.com/t5/intune-customer-success/deploying-macos-apps-with-the-microsoft-intune-scripting-agent/ba-p/2298072" href="https://techcommunity.microsoft.com/t5/intune-customer-success/deploying-macos-apps-with-the-microsoft-intune-scripting-agent/ba-p/2298072" target="_blank"&gt;Deploying macOS apps with the Microsoft Intune scripting agent - Microsoft Community Hub&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This ended up being most of the answer for me. I combined this with a few other policies for our Mac's (described below), and the software was installed via the script from Intune with no issues. I did have to modify the part of the script where it detects the file type from the metadata (PKG, DMG, etc) because of the extra "zlib compressed data" mentioned above:&lt;/P&gt;&lt;CODE&gt; # We can't tell what this is by the file name, lets look at the metadata
                echo "$(date) | Unknown file type [$f], analysing metadata"
                metadata=$(file "$tempfile")
                if [[ "$metadata" == *"Zip archive data"* ]]; then
                    packageType="ZIP"
                    mv "$tempfile" "$tempdir/install.zip"
                    tempfile="$tempdir/install.zip"
                fi
&amp;nbsp;
                if [[ "$metadata" == *"xar archive"* ]] &amp;amp;&amp;amp; [["$metadata" == *"zlib compressed data"* ]]; then
                    packageType="PKG"
                    mv "$tempfile" "$tempdir/install.pkg"
                    tempfile="$tempdir/install.pkg"
                fi
&amp;nbsp;
                if [[ "$metadata" == *"xar archive"* ]]; then
                    packageType="PKG"
                    mv "$tempfile" "$tempdir/install.pkg"
                    tempfile="$tempdir/install.pkg"
                fi
&amp;nbsp;
                if [[ "$metadata" == *"bzip2 compressed data"* ]] || [[[ "$metadata" == *"zlib compressed data"* &amp;amp;&amp;amp; "$metadata" != *"xar archive"* ]]]; then
                    packageType="DMG"
                    mv "$tempfile" "$tempdir/install.dmg"
                    tempfile="$tempdir/install.dmg"
                fi&lt;/CODE&gt;&lt;P&gt;You place the .PKG in an Azure Blob storage (or anywhere the file can be hosted really) and put the link in the script along with a few other user variables I changed to match CyberArk:&lt;/P&gt;&lt;CODE&gt;# User Defined variables
weburl="&amp;lt;Azure Blob Linke Goes Here&amp;gt;"      # What is the Azure Blob Storage URL?
appname="CyberArkEPM"                                                                              # The name of our App deployment script (also used for Octory monitor)
app="CyberArk EPM.app"                                                                              # The actual name of our App once installed
logandmetadir="/Library/Logs/Microsoft/IntuneScripts/installCyberArkEPM"                           # The location of our logs and last updated data
processpath="/Applications/CyberArk EPM.app/Contents/MacOS/CyberArk EPM"                                    # The process name of the App we are installing
terminateprocess="false"                                                                    # Do we want to terminate the running process? If false we'll wait until its not running
autoUpdate="true"   &lt;/CODE&gt;&lt;P&gt;I believe that's all the parts of the script I had to modify.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 14:02:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349415#M2848</guid>
      <dc:creator>BackupTerry</dc:creator>
      <dc:date>2022-11-01T14:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349416#M2849</link>
      <description>&lt;P&gt;The last part to figure out was 2 Intune configuration profiles:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;System Extensions.&lt;/LI&gt;&lt;LI&gt;Full Disk Access.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For System Extensions, just create a configuration profile that allows the following system extensions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__0682J00000MNHHyQAP.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/83018i6253545C2B5DA842/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__0682J00000MNHHyQAP.png" alt="Field_Content_versions_oct20__0682J00000MNHHyQAP.png" /&gt;&lt;/span&gt;For full disk access, I found a utility (&lt;A alt="https://github.com/jamf/PPPC-Utility/releases" href="https://github.com/jamf/PPPC-Utility/releases" target="_blank"&gt;Releases · jamf/PPPC-Utility (github.com)&lt;/A&gt;) that was made for helping build configuration profiles with JAMF but works equally as well for Intune.&lt;/P&gt;&lt;P&gt;I don't see a way to attach a file here, so here is the code for this (note the "COMPANY NAME GOES HERE" that you would need to update):&lt;/P&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&amp;gt;
&amp;lt;plist version="1.0"&amp;gt;
&amp;lt;dict&amp;gt;
	&amp;lt;key&amp;gt;PayloadContent&amp;lt;/key&amp;gt;
	&amp;lt;array&amp;gt;
		&amp;lt;dict&amp;gt;
			&amp;lt;key&amp;gt;PayloadDescription&amp;lt;/key&amp;gt;
			&amp;lt;string&amp;gt;CyberArk - Disk Access&amp;lt;/string&amp;gt;
			&amp;lt;key&amp;gt;PayloadDisplayName&amp;lt;/key&amp;gt;
			&amp;lt;string&amp;gt;CyberArk - Disk Access&amp;lt;/string&amp;gt;
			&amp;lt;key&amp;gt;PayloadIdentifier&amp;lt;/key&amp;gt;
			&amp;lt;string&amp;gt;9B623012-BE52-4F7D-ABDE-A47FD6561D47&amp;lt;/string&amp;gt;
			&amp;lt;key&amp;gt;PayloadOrganization&amp;lt;/key&amp;gt;
			&amp;lt;string&amp;gt;COMPANY NAMES GOES HERE&amp;lt;/string&amp;gt;
			&amp;lt;key&amp;gt;PayloadType&amp;lt;/key&amp;gt;
			&amp;lt;string&amp;gt;com.apple.TCC.configuration-profile-policy&amp;lt;/string&amp;gt;
			&amp;lt;key&amp;gt;PayloadUUID&amp;lt;/key&amp;gt;
			&amp;lt;string&amp;gt;0E0ED548-7525-4020-B357-78C827BBBDAC&amp;lt;/string&amp;gt;
			&amp;lt;key&amp;gt;PayloadVersion&amp;lt;/key&amp;gt;
			&amp;lt;integer&amp;gt;1&amp;lt;/integer&amp;gt;
			&amp;lt;key&amp;gt;Services&amp;lt;/key&amp;gt;
			&amp;lt;dict&amp;gt;
				&amp;lt;key&amp;gt;SystemPolicyAllFiles&amp;lt;/key&amp;gt;
				&amp;lt;array&amp;gt;
					&amp;lt;dict&amp;gt;
						&amp;lt;key&amp;gt;Authorization&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;Allow&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;CodeRequirement&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;identifier "com.cyberark.CyberArkEPM" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ or certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = DF8U2CCCD8&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;Comment&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;Identifier&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;com.cyberark.CyberArkEPM&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;IdentifierType&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;bundleID&amp;lt;/string&amp;gt;
					&amp;lt;/dict&amp;gt;
					&amp;lt;dict&amp;gt;
						&amp;lt;key&amp;gt;Authorization&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;Allow&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;CodeRequirement&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;identifier "com.cyberark.CyberArkEPMEndpointSecurityExtension" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ or certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = DF8U2CCCD8&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;Comment&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;Identifier&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;com.cyberark.CyberArkEPMEndpointSecurityExtension&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;IdentifierType&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;bundleID&amp;lt;/string&amp;gt;
					&amp;lt;/dict&amp;gt;
				&amp;lt;/array&amp;gt;
				&amp;lt;key&amp;gt;SystemPolicySysAdminFiles&amp;lt;/key&amp;gt;
				&amp;lt;array&amp;gt;
					&amp;lt;dict&amp;gt;
						&amp;lt;key&amp;gt;Authorization&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;Allow&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;CodeRequirement&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;identifier "com.cyberark.CyberArkEPMEndpointSecurityExtension" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ or certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = DF8U2CCCD8&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;Comment&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;Identifier&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;com.cyberark.CyberArkEPMEndpointSecurityExtension&amp;lt;/string&amp;gt;
						&amp;lt;key&amp;gt;IdentifierType&amp;lt;/key&amp;gt;
						&amp;lt;string&amp;gt;bundleID&amp;lt;/string&amp;gt;
					&amp;lt;/dict&amp;gt;
				&amp;lt;/array&amp;gt;
			&amp;lt;/dict&amp;gt;
		&amp;lt;/dict&amp;gt;
	&amp;lt;/array&amp;gt;
	&amp;lt;key&amp;gt;PayloadDescription&amp;lt;/key&amp;gt;
	&amp;lt;string&amp;gt;CyberArk - Disk Access&amp;lt;/string&amp;gt;
	&amp;lt;key&amp;gt;PayloadDisplayName&amp;lt;/key&amp;gt;
	&amp;lt;string&amp;gt;CyberArk - Disk Access&amp;lt;/string&amp;gt;
	&amp;lt;key&amp;gt;PayloadIdentifier&amp;lt;/key&amp;gt;
	&amp;lt;string&amp;gt;9B623012-BE52-4F7D-ABDE-A47FD6561D47&amp;lt;/string&amp;gt;
	&amp;lt;key&amp;gt;PayloadOrganization&amp;lt;/key&amp;gt;
	&amp;lt;string&amp;gt;COMPANY NAME GOES HERE&amp;lt;/string&amp;gt;
	&amp;lt;key&amp;gt;PayloadScope&amp;lt;/key&amp;gt;
	&amp;lt;string&amp;gt;System&amp;lt;/string&amp;gt;
	&amp;lt;key&amp;gt;PayloadType&amp;lt;/key&amp;gt;
	&amp;lt;string&amp;gt;Configuration&amp;lt;/string&amp;gt;
	&amp;lt;key&amp;gt;PayloadUUID&amp;lt;/key&amp;gt;
	&amp;lt;string&amp;gt;E42691CD-133C-47E9-B971-A2FD5280B03C&amp;lt;/string&amp;gt;
	&amp;lt;key&amp;gt;PayloadVersion&amp;lt;/key&amp;gt;
	&amp;lt;integer&amp;gt;1&amp;lt;/integer&amp;gt;
&amp;lt;/dict&amp;gt;
&amp;lt;/plist&amp;gt;&lt;/CODE&gt;&lt;P&gt;Save this as a ".mobileconfig" file.&lt;/P&gt;&lt;P&gt;Deploy these FIRST, and then deploy the script to install the CyberArk .PKG file.&lt;/P&gt;&lt;P&gt;I hope this helps someone in the future. I was about to pull what hair I have left out getting this working ;).&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 15:05:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349416#M2849</guid>
      <dc:creator>BackupTerry</dc:creator>
      <dc:date>2022-11-01T15:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Intune - MacOS Agent Installation</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349417#M2850</link>
      <description>&lt;P&gt;One other note: Obviously, you want the configuration profiles to apply before the app installs. As of now, this isn't possible natively in Intune. To overcome this, I made an Azure RunBook that adds Mac's in Intune 4 hours after they are registered to an Azure AD Group. Then that group is assigned to the script.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 20:07:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/intune-macos-agent-installation/m-p/1349417#M2850</guid>
      <dc:creator>BackupTerry</dc:creator>
      <dc:date>2022-11-02T20:07:44Z</dc:date>
    </item>
  </channel>
</rss>

