Share via

Managed app setting values for different windows apps

BigFix Bangalore 0 Reputation points
2023-10-11T05:30:38.2266667+00:00

I am looking to set different possible managed configuration options for apps like outlook, teams, skype, slack etc. I happened to see the below section in “EnterpriseModernAppManagement CSP” documentation.

Query :-

Can you please let me know if there are any APIs available or documents available to get the different values/nodes that be used as {SettingValue} for different windows apps?

Details from document to get the context:-

User/AppManagement/AppStore/{PackageFamilyName}/AppSettingPolicy/{SettingValue}

Also saw the below examples show for setting managed app setting and getting the properties set. I am able to test these syncml request and get success response.


<!— Configure app settings -->
<Add>
    <CmdID>0</CmdID>
    <Item>
       <Target>
          <LocURI>./User/Vendor/MSFT/EnterpriseModernAppManagement/AppManagement/AppStore/PackageFamilyName/AppSettingPolicy/Server</LocURI>
       </Target>
       <Meta>
          <Format xmlns="syncml:metinf">chr</Format>
       </Meta>
       <Data>server1.contoso.com</Data>
    </Item>
</Add>


Microsoft Security | Intune | Configuration Manager | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 22,271 Reputation points
    2023-10-13T09:35:54.7666667+00:00

    Hi,

    User/AppManagement

    https://learn.microsoft.com/en-us/windows/client-management/mdm/enterprisemodernappmanagement-csp#deviceappinstallationpackagefamilyname

    For modern Windows apps, like Universal Windows Platform (UWP) apps, you can retrieve the Product ID or Package Family Name (PFN) from the app's manifest. Here's how to do it:

    Open the App's Manifest:

    • UWP apps have an "AppxManifest.xml" file that contains various details about the app, including the Package Family Name.
    • This manifest file is located within the app's package. If you have the app package (an .appx or .appxbundle file), you can extract it using a tool like 7-Zip.
    • Navigate to the extracted or installed app folder.

    Find the Package Family Name (PFN):

    • Open the "AppxManifest.xml" file in a text editor.
    • Look for the <Identity> element, which contains the Package Family Name (PFN). It might look like this:
    
    <Identity Name="YourAppName" Publisher="CN=YourPublisherName" Version="1.0.0.0" ProcessorArchitecture="neutral" />
    
    • The "Name" attribute within the <Identity> element is the Package Family Name (PFN) for your UWP app.

    The Package Family Name is a unique identifier for the UWP app on the Windows platform and can be used for various configuration and management tasks in an enterprise environment. Please note that the exact location of the manifest file may vary based on the app's structure, but it is typically found within the app's package. You can also access this information through PowerShell or programmatically if needed.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.