Prepare-PlacesEnablement script fails with “Please run the PreparePlacesPowershell7 script first”
And yet I literally ran PreparePlacesGroups.ps1 before this in the same Admin PowerShell Window. Suggestions?
PS C:program filesWindowsPowerShellScripts> PreparePlacesGroups.ps1
Adding the Exchange module
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
‘PSGallery’?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “N”): y
WARNING: Version ‘3.2.0’ of module ‘ExchangeOnlineManagement’ is already installed at
‘C:Usersakuhn-adminDocumentsWindowsPowerShellModulesExchangeOnlineManagement3.2.0’. To install version ‘3.5.1’,
run Install-Module and add the -Force parameter, this command will install version ‘3.5.1’ side-by-side with version
‘3.2.0’.
—————————————————————————————-
This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which doesn’t require WinRM for Client-Server communication. You can now run these cmdlets after turning off WinRM Basic Auth in your client machine thus making it more secure.
Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity with the RPS (V1) cmdlets.
V3 cmdlets in the downloaded module are resilient to transient failures, handling retries and throttling errors inherently.
REST backed EOP and SCC cmdlets are also available in the V3 module. Similar to EXO, the cmdlets can be run without WinRM basic auth enabled.
For more information check https://aka.ms/exov3-module
—————————————————————————————-
Creating a security group – Places Users
Creating a security group – Places Mobile Users
Creating a security group – Places Analytics Users
Creating a security group – Places Advanced Features
Creating a security group – Places Finder Users
Adding Places Advanced Feature Users to the Places Users group
Adding Places Mobile Users to the Places Advanced Features group
Adding Places Analytics Users to the Places Advanced Features group
Adding Places Finder Users to the Places Advanced Features group
Places Security Groups have been created.
And then
PS C:program filesWindowsPowerShellScripts> dir
Directory: C:program filesWindowsPowerShellScripts
Mode LastWriteTime Length Name
—- ————- —— —-
d—– 7/11/2024 12:00 PM InstalledScriptInfos
-a—- 7/9/2024 9:18 PM 7175 Prepare-PlacesEnablement.ps1
-a—- 7/9/2024 9:18 PM 4167 PreparePlacesGroups.ps1
PS C:program filesWindowsPowerShellScripts> Prepare-PlacesEnablement.ps1 -PlacesWebApp $true -PlacesAdvancedFeatures $true -PlacesAnalytics $true -PlacesMobileApp $true -PlacesFinder $true
C:Program FilesWindowsPowerShellScriptsPrepare-PlacesEnablement.ps1 : Please run the PreparePlacesPowershell7
script first
At line:1 char:1
+ Prepare-PlacesEnablement.ps1 -PlacesWebApp $true -PlacesAdvancedFeatu …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Prepare-PlacesEnablement.ps1
And yet I literally ran PreparePlacesGroups.ps1 before this in the same Admin PowerShell Window. Suggestions? PS C:program filesWindowsPowerShellScripts> PreparePlacesGroups.ps1Adding the Exchange moduleUntrusted repositoryYou are installing the modules from an untrusted repository. If you trust this repository, change itsInstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from’PSGallery’?[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “N”): yWARNING: Version ‘3.2.0’ of module ‘ExchangeOnlineManagement’ is already installed at’C:Usersakuhn-adminDocumentsWindowsPowerShellModulesExchangeOnlineManagement3.2.0′. To install version ‘3.5.1’,run Install-Module and add the -Force parameter, this command will install version ‘3.5.1’ side-by-side with version’3.2.0′.—————————————————————————————-This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which doesn’t require WinRM for Client-Server communication. You can now run these cmdlets after turning off WinRM Basic Auth in your client machine thus making it more secure.Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity with the RPS (V1) cmdlets.V3 cmdlets in the downloaded module are resilient to transient failures, handling retries and throttling errors inherently.REST backed EOP and SCC cmdlets are also available in the V3 module. Similar to EXO, the cmdlets can be run without WinRM basic auth enabled.For more information check https://aka.ms/exov3-module—————————————————————————————-Creating a security group – Places UsersCreating a security group – Places Mobile UsersCreating a security group – Places Analytics UsersCreating a security group – Places Advanced FeaturesCreating a security group – Places Finder UsersAdding Places Advanced Feature Users to the Places Users groupAdding Places Mobile Users to the Places Advanced Features groupAdding Places Analytics Users to the Places Advanced Features groupAdding Places Finder Users to the Places Advanced Features groupPlaces Security Groups have been created. And then PS C:program filesWindowsPowerShellScripts> dirDirectory: C:program filesWindowsPowerShellScriptsMode LastWriteTime Length Name—- ————- —— —-d—– 7/11/2024 12:00 PM InstalledScriptInfos-a—- 7/9/2024 9:18 PM 7175 Prepare-PlacesEnablement.ps1-a—- 7/9/2024 9:18 PM 4167 PreparePlacesGroups.ps1PS C:program filesWindowsPowerShellScripts> Prepare-PlacesEnablement.ps1 -PlacesWebApp $true -PlacesAdvancedFeatures $true -PlacesAnalytics $true -PlacesMobileApp $true -PlacesFinder $trueC:Program FilesWindowsPowerShellScriptsPrepare-PlacesEnablement.ps1 : Please run the PreparePlacesPowershell7script firstAt line:1 char:1+ Prepare-PlacesEnablement.ps1 -PlacesWebApp $true -PlacesAdvancedFeatu …+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Prepare-PlacesEnablement.ps1 Read More