Forum Discussion
charlie4872
Jun 02, 2020Brass Contributor
Cannot bind parameter error message
Hello I am working with a script and getting an error that I am not sure how to deal with. Script snipit and error are below. My Google searches are not providing any help and any help is greatly app...
- Jun 02, 2020
charlie4872 Hello Charlie, could you try to extract the URL from the property?.
Set-SPOUser -Site $OneDriveUrl.PersonalUrl -LoginName $newadmin -IsSiteCollectionAdmin $True -ErrorAction SilentlyContinue
Regards
Erick Moreno
Erick A. Moreno R.
Iron Contributor
charlie4872 Hello Charlie, could you try to extract the URL from the property?.
Set-SPOUser -Site $OneDriveUrl.PersonalUrl -LoginName $newadmin -IsSiteCollectionAdmin $True -ErrorAction SilentlyContinue
Regards
Erick Moreno
charlie4872
Jun 02, 2020Brass Contributor
YES!!!!!!Erick A. Moreno R. Thank you so much that is exactly what I was looking for and confirmed it works!
- Erick A. Moreno R.Jun 02, 2020Iron Contributor
charlie4872 Awesome, please don't forget to mark it as the answer.