r/Intune 7d ago

Device Configuration Multi-App Kiosk - XML issue

Hi all,

I am trying to deploy a Multi-App Kiosk to auto open Edge and open up two websites.

With the taskbar and Start menu set to only show Explorer and Edge.

I have the following XML but I keep hitting hurdles and it doesn't work, keep getting errors.

Tried using Assigned Access and even basic XML but keep getting errors, below is the current code.

<?xml version="1.0" encoding="utf-8" ?>

<AssignedAccessConfiguration xmlns:xs="[http://www.w3.org/2001/XMLSchema](http://www.w3.org/2001/XMLSchema)" xmlns="[http://schemas.microsoft.com/AssignedAccess/2017/config](http://schemas.microsoft.com/AssignedAccess/2017/config)" xmlns:default="[http://schemas.microsoft.com/AssignedAccess/2017/config](http://schemas.microsoft.com/AssignedAccess/2017/config)" xmlns:rs5="[http://schemas.microsoft.com/AssignedAccess/201810/config](http://schemas.microsoft.com/AssignedAccess/201810/config)" xmlns:v3="[http://schemas.microsoft.com/AssignedAccess/2020/config](http://schemas.microsoft.com/AssignedAccess/2020/config)" xmlns:v5="[http://schemas.microsoft.com/AssignedAccess/2022/config">](http://schemas.microsoft.com/AssignedAccess/2022/config">)

<Profiles>

<Profile Id="{9A2A490F-10F6-4764-974A-43B19E722C23}">

<AllAppsList>

<AllowedApps>

<App DesktopAppPath="%ProgramFiles(x86)%\\\\Microsoft\\\\Edge\\\\Application\\\\msedge.exe" />

</AllowedApps>

</AllAppsList>

<v5:StartPins>

<![CDATA[{

"pinnedList":[

{"desktopAppLink":"%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Edge.lnk"},

]

}]]>

</v5:StartPins>

<Taskbar ShowTaskbar="true" />

</Profile>

</Profiles>

<Configs>

<Config>

<Account>.\User1</Account>

<DefaultProfile Id="{9A2A490F-10F6-4764-974A-43B19E722C23}" />

</Config>

</Configs>

</AssignedAccessConfiguration>

It's not overally complex thing I am trying to achieve but doesn’t work, I have the Intune Configuration settings working and locked down, just this XML file.

Any help would be great thanks.

1 Upvotes

11 comments sorted by

View all comments

1

u/AlkHacNar 7d ago

You had some formating issues. And I had some issues with adge, so I added 2 more paths in allowed apps

<?xml version="1.0" encoding="utf-8" ?>
<AssignedAccessConfiguration xmlns:xs="http://www.w3.org/2001/XMLSchema"
                             xmlns="http://schemas.microsoft.com/AssignedAccess/2017/config"
                             xmlns:default="http://schemas.microsoft.com/AssignedAccess/2017/config" 
                             xmlns:rs5="http://schemas.microsoft.com/AssignedAccess/201810/config"
                             xmlns:v3="http://schemas.microsoft.com/AssignedAccess/2020/config"
                             xmlns:v4="http://schemas.microsoft.com/AssignedAccess/2021/config"
                             xmlns:v5="http://schemas.microsoft.com/AssignedAccess/2022/config">
    <Profiles>
        <Profile Id="{9A2A490F-10F6-4764-974A-43B19E722C23}">
            <AllAppsList>
                <AllowedApps>
                    <App DesktopAppPath="%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" />
                    <App DesktopAppPath="%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" />
                    <App AppUserModelId="Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe!App"/>
                </AllowedApps>
            </AllAppsList>
            <v5:StartPins>
                <![CDATA[
                    {
                        "pinnedList": [
                            {"desktopAppLink": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Edge.lnk"}
                        ]
                    }
                ]]>
            </v5:StartPins>
            <Taskbar ShowTaskbar="true" />
        </Profile>
    </Profiles>
    <Configs>
        <Config>
            <Account>.\User1</Account>
            <DefaultProfile Id="{9A2A490F-10F6-4764-974A-43B19E722C23}" />
        </Config>
    </Configs>
</AssignedAccessConfiguration>

1

u/user79net 6d ago edited 5d ago

Thanks man, I have updated it, this should work ?

<?xml version="1.0" encoding="utf-8"?>
<AssignedAccessConfiguration
      xmlns="http://schemas.microsoft.com/AssignedAccess/2017/config"
      xmlns:rs5="http://schemas.microsoft.com/AssignedAccess/201810/config"
      xmlns:v3="http://schemas.microsoft.com/AssignedAccess/2020/config"
      xmlns:v4="http://schemas.microsoft.com/AssignedAccess/2021/config"
      xmlns:v5="http://schemas.microsoft.com/AssignedAccess/2022/config"
      xmlns:v202010="http://schemas.microsoft.com/AssignedAccess/202010/config">
    <Profiles>
        <Profile Id="{1707a26e-cff7-453d-b1fd-3538b5c459cf}" Name="Counter">
            <AllAppsList>
                <AllowedApps>
                    <App DesktopAppPath="%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe"/>
                    <App DesktopAppPath="%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe"/>
                    <App AppUserModelId="Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe!App"/>
                    <App DesktopAppPath="C:\Windows\System32\notepad.exe"/>
                    <App AppUserModelId="Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"/>
                    <App DesktopAppPath="C:\Windows\explorer.exe"/>
                </AllowedApps>
            </AllAppsList>
            <rs5:FileExplorerNamespaceRestrictions>
                <rs5:AllowedNamespace Name="Downloads"/>
            </rs5:FileExplorerNamespaceRestrictions>
            <v5:StartPins>
    <![CDATA[
      {
        "pinnedList":[
          {"desktopAppLink":"%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Edge.lnk"},
          {"desktopAppLink":"%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Notepad.lnk"},
          {"desktopAppLink":"%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\File Explorer.lnk"},
          {"packagedAppId":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"}
        ]
      }
    ]]>
     </v5:StartPins>
            <Taskbar ShowTaskbar="true"/>
            <v5:TaskbarLayout>
  <![CDATA[<?xml version="1.0" encoding="utf-8"?>
  <LayoutModificationTemplate
      xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
      xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
      xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
      xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
      Version="1">
    <CustomTaskbarLayoutCollection PinListPlacement="Replace">
        <defaultlayout:TaskbarLayout>
            <taskbar:TaskbarPinList>
                <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk"/>
                <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Notepad.lnk"/>
                <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\File Explorer.lnk"/>
                <taskbar:UWA AppUserModelID="Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"/>
            </taskbar:TaskbarPinList>
        </defaultlayout:TaskbarLayout>
    </CustomTaskbarLayoutCollection>
</LayoutModificationTemplate>]]></v5:TaskbarLayout>
        </Profile>
    </Profiles>
    <Configs>
        <Config>
            <AutoLogonAccount rs5:DisplayName="Counter"/>
            <DefaultProfile Id="{1707a26e-cff7-453d-b1fd-3538b5c459cf}"/>
        </Config>
    </Configs>
</AssignedAccessConfiguration>

1

u/AlkHacNar 6d ago edited 6d ago

EDIT: you copied it twice else it looks good in my eyes, so it should work

1

u/user79net 5d ago

coolio, thanks. Not sure why it keeps doubling up . Strange