Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Kommentar: Updating numbered headings

...

...

...

...

...

...

Inhalt

1. introduction

Setting up PowerShell is only necessary for environments if:

...

3.1. 3.1 Installing the required modules

Please execute run the following once in the Administrator PowerShell to install the modules for Exchange Online, Microsoft Online and Azure AD:

...

3.2. 3.2 Store Exchange Online access data

ATTENTION: Microsoft no longer allows Basic Auth since September/October 2022. Therefore, please also perform carry out the following for existing installations

Sign in to the Azure AD portal

...

Codeblock
.\stanocPowerHelper.ps1 -createPFX -AppID "AppID aus der oben angelegten App einfügen" -passphrase "Passphrase zum Schützen des PFX-Files" -Organization "firma.onmicrosoft.com"

...

Attention: The certificate creation under Windows Server 2012 R2 does not work correctly. The certificate creation must therefore be executed on a different server operating system (Windows Server 2019 / Windows Server 2022) or on a local client installation of the 'stanoc PowerHelper script' (min . Windows 10). Otherwise, the following error will occur during the connection:

...

Codeblock
LAUFWERKSBUCHSTABE_EXCHANGE_ISO:\setup.exe /role:managementtools /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF 

Please check and if not availablecopy the Microsoft.Exchange.ManagedLexRuntime.MPPGRuntime.dll from the Exchange server to the current computer (target and source folder C:\Program Files\Microsoft\Exchange Server\V15\Bin ) Otherwise the following error will occur during execution:

...

Additional requirement: Ports TCP 80,443 (5985/5986)

4.3.1. 4.3.1 Client

Check current setting

...

adminstanoc@ad.kunde.de with the corresponding AD user who is to perform the migration

4.5. 4.5 Adjust Exchange on Premises

...

limits

Codeblock
Get-Mailbox | Set-Mailbox -MaxSendSize 150MB -MaxReceiveSize 150MB
Get-MailboxPlan | Set-MailboxPlan -MaxSendSize 150MB -MaxReceiveSize 150MB

New-ThrottlingPolicy Migrationpolicy
Set-ThrottlingPolicy Migrationpolicy -RCAMaxConcurrency Unlimited -EWSMaxConcurrency Unlimited -EWSMaxSubscriptions Unlimited -CPAMaxConcurrency Unlimited -EwsCutoffBalance Unlimited -EwsMaxBurst Unlimited -EwsRechargeRate Unlimited
Get-Mailbox | Set-Mailbox -ThrottlingPolicy Migrationpolicy

...

For SharePoint, the app must be registered in the same way as Exchange Online and also authenticated using a certificate.

If a different registered app is to be used for Shift than for SWAP, the credentials for this case must be saved separately and the path must be specified absolutely (without \ at the end!) in the Shift target configuration.

Codeblock
.\stanocPowerHelper.ps1 -prepareCredentials -CredentialPath "C:\Program Files\HCL\Domino\stanoc\stanocPowerHelperShift"

...

The following API authorizations must also be set (application with administrator approval)

  • SharePoint → Sites.FullControl.All

  • SharePoint → TermStore.ReadWrite.All

  • SharePoint → User.ReadWrite.All

    image-20240913-144454.png

For testing

Codeblock
.\stanocPowerHelper.ps1 -ConnectPNP -PnpSiteURL "https://..""  -CredentialPath "C:\Program Files\HCL\Domino\stanoc\stanocPowerHelperShift"

can be used.

The application ID and a secret are also required for use via API (not PowerShell).

6. troubleshooting for the execution

...