Forum Discussion
Prepare-PlacesEnablement script fails with "Please run the PreparePlacesPowershell7 script first"
AdamK_DC ,
Here are the steps to resolve this issue:
Install the Required Module: First, ensure that you have the PreparePlacesPowershell7 module installed. You can do this by running the following command in PowerShell 7:Install-Script -Name PreparePlacesPowershell7
If prompted about an untrusted repository, you can confirm the installation from the ‘PSGallery’ repository. You can also manually download the module from the PowerShell Gallery.
Run the PreparePlacesPowershell7 Script: Open a new PowerShell 7 window (separate from the one where you ran PreparePlacesGroups.ps1). Then execute the following command:
Prepare-PlacesPowershell7
This script sets up the necessary environment for Places cmdlets.
Run the Prepare-PlacesEnablement.ps1 Script: After successfully running the PreparePlacesPowershell7 script, you can now execute the Prepare-PlacesEnablement.ps1 script with the desired parameters. For example:
Prepare-PlacesEnablement.ps1 -PlacesWebApp $true -PlacesAdvancedFeatures $true -PlacesAnalytics $true -PlacesMobileApp $true -PlacesFinder $true
Make sure to adjust the parameters according to your requirements.
By following these steps, you should be able to resolve the issue and enable the necessary features for Places. If you encounter any further issues, feel free to ask for additional assistance! 😊
digging further - I manually installed Places - seemingly successfully - and then it won't connect to places:
PS C:\WINDOWS\system32> Install-Module -Name MicrosoftPlaces -AllowPrerelease -Force
PS C:\WINDOWS\system32> Connect-MicrosoftPlaces
Connect-MicrosoftPlaces : The term 'Connect-MicrosoftPlaces' 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 line:1 char:1
+ Connect-MicrosoftPlaces
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Connect-MicrosoftPlaces:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\WINDOWS\system32>
- AdamK_DCJul 12, 2024Brass Contributor
I hacked away at it until I got it. But I won't be able to say that fully until I see that the web view works. We're a small org with several meeting rooms. Not even sure this will be worth it.
- Keith_CopelandJul 26, 2024Copper Contributor
AdamK_DC What did you do to get further? I am stuck at this last bit as well. I also tried manually installing the MicrosoftPlaces module, same results. Thanks.
- AdamK_DCJul 29, 2024Brass Contributor
- Make sure I was using Powershell 7 x64 in Admin mode
- Install the relevant modules
I was all over the place. If you're good - never mind. If you're still trying to set it up - let us know how far you got.