powerhsell
2 TopicsCalling PS script from Azure Webjobs
Hi, This is my first post here. I am from D365 FO background . I am integrating azurejobs using logic apps. This is my PS script param($scriptPath,$inputPath,$outputPath) perl $scriptPath -input $inputPath -output $outputPath When I execute the above command directly in ps, I am getting the expected result. (perl script is called and the files are moved properly) I am passing the value of paths from logic apps gateway. But I end up with the attached error when I call the same ps script from azure webjobs Do I need to modify the ps script here?1.1KViews0likes0CommentsUploading Emergency locations using CSV
Hi In our organisation we are updating our list of emergency locations in the admin section of Teams. We were able to export the current out of date list using Get-CsOnlineLisLocation | Select-Object companyname, description, HouseNumber, Streetname, City, p ostalcode | Export-Csv c:\temp\skypelocation.csv -NoTypeInformation -Append We now have the correct up to date list populated in a CSV and we would like to know if its possible to import this back to teams? There is no import-CsOnlineLisLocation command so I am unsure if this is even possible. Is there a way to use import-csv and then pipe it into the New-CsOnlineLisLocation command? Something like the following? Import-Csv -Path <Input CSV File Path and Name> | foreach {New-CSOnlineLisLocation -Location $_.Location –PostalCode $_.PostalCode}1.8KViews0likes1Comment