Line uncommented by default by mistake?
Script by default has an inaccessible location set in line 43: @{"displayName"="Sharepoint Site A";"targetLocationType"="driveletter";"targetLocationPath"="Z:";"sourceLocationPath"="https://lieben.sharepoint.com/sites/groep30/Gedeelde%20%20documenten/Forms/AllItems.aspx";"mapOnlyForSpecificGroup"=""}
Text above line reports default is just to map X drive but contains the above line to map a Z drive to an inaccessible location generating an error. Line should be commented by default I assume?