jklotzsche-msft / TeamsPhoneNumberManagement

This solution provides you with a way to manage the phone numbers for your Teams users in a structured and automated way.
MIT License
2 stars 2 forks source link

The term 'Join-String' is not recognized as the name of a cmdlet, function, script file, or operable program #2

Open asubhash2023 opened 2 months ago

asubhash2023 commented 2 months ago

S C:\TeamsPhoneNumberManagement-main\FunctionApp\build> .\build.ps1 -FunctionAppName "func-TeamsDIDManagement" -ResourceGroupName "rg-TeamsPhoneNumberManagement" Security warning Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning message. Do you want to run C:\TeamsPhoneNumberManagement-main\FunctionApp\build\build.ps1? [D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R Checking, if connection to Azure has been established...OK Join-String : The term 'Join-String' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\TeamsPhoneNumberManagement-main\FunctionApp\build\build.ps1:50 char:70

Join-String : The term 'Join-String' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\TeamsPhoneNumberManagement-main\FunctionApp\build\build.ps1:51 char:78

Join-String : The term 'Join-String' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\TeamsPhoneNumberManagement-main\FunctionApp\build\build.ps1:68 char:72

Join-String : The term 'Join-String' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\TeamsPhoneNumberManagement-main\FunctionApp\build\build.ps1:69 char:80

Publishing Function App to rg-TeamsPhoneNumberManagement/func-TeamsDIDManagement...OK

jklotzsche-msft commented 3 weeks ago

Thank you @asubhash2023 for this issue.

Positional parameter is used, which has changed for Join-String lately. Therefore, named parameter must be used again to fix this. Will be added in next version.