Revised 02/12/2026
Configure Site Write Permission
1. Automatically create an app registration for interactive login.
#Create Entra App registration so PnP PowerShell can connect to tenant Register-PnPEntraIDAppForInteractiveLogin -ApplicationName "PnP Rocks" -Tenant <yourtenant>.onmicrosoft.com
The expected output of the command:
Checking if application 'PnP Rocks' does not exist yet...Success. Application 'PnP Rocks' can be registered.
App PnP Rocks with id XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX created.
App created. You can now connect to your tenant using: Connect-PnPOnline -Url <yourtenanturl> -Interactive -ClientId XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
2. Connect to SharePoint Online site using PnP PowerShell using MFA.
#Connect to SharePoint site using generated ClientId in last step Connect-PnPOnline -Url <yourtenant>.sharepoint.com -Interactive -ClientId "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
3. Configure "BCO akoyaGO Integration" with write access to the SharePoint site.
#Configure Write access to SharePoint site Grant-PnPAzureADAppSitePermission -AppId "a86b9632-42bf-4dfe-83c8-bbc95145504b" -DisplayName "BCO akoyaGO Integration" -Permissions Write -Site "<SharePoint Site URL>"
The expected output of the command. If you get an output similar to this, you have configured SharePoint correctly:
Id : aTowaS50fG1zLnNwLmV4dHxhODZiOTYzMi00MmJmLTRkZmUtODNjOC1iYmM5NTE0NTUwNGJAN2VlN2JlMDAtZGYzMy00Nzg0LWJiZDMtZDMwNGIzZDBjNmIx
Roles : {write}
Apps : {BCO akoyaGO Integration, a86b9632-42bf-4dfe-83c8-bbc95145504b}
4. Generate HMAC Secret Code for GOverify Config Flag. Paste this script into PowerShell:
$b = [byte[]]::new(32); [System.Security.Cryptography.RandomNumberGenerator]::Create().GetBytes($b); [Convert]::ToBase64String($b)
5. Paste code into the HMAC Secret Field on the Constituent record > Development details
