I have been following the Guide to enable Microsoft Places and been struggling with the final step 4 detailed on this site.
https://learn.microsoft.com/en-us/deployoffice/places/deployment-guide-for-places
I wanted to understand everyone experience did the script require changing for every environment or do we keep it as given by Microsoft as its erroring for me so wanted to see what everyone feedback is around this.
thanks in advance.
We were expecting the settings to be enabled but this fails with the following the actual script is in the guide provided above:
WriteError: C:UsersDocumentsPowerShellScriptsPrepare-PlacesEnablement.ps1:52
Line |
52 | [bool]$PlacesMobileApp = $false,
| ~~~~~~~
| Cannot overwrite variable false because it is read-only or constant.
Get-AzTenant: C:UsersDocumentsPowerShellScriptsPrepare-PlacesEnablement.ps1:79
Line |
79 | $tenant = Get-AzTenant
| ~~~~~~~~~~~~
| The term 'Get-AzTenant' is not recognized as a name of a cmdlet, function, script file, or executable program.
| Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
user25619577 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.