Skip to content

Commit 58e0c34

Browse files
authored
Update azureautomationrunbook.md
In the code snippet : Connect-PnPOnline tenant.sharepoint.com -ManagedIdentity Without the "tenant.sharepoint.com" parameter the code throws an error - "Unauthorized (401): ArgumentNull"
1 parent f31d0ec commit 58e0c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/articles/azureautomationrunbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ We're now ready to create a Runbook in which your PnP PowerShell script will run
151151
1. On the Edit PowerShell Runbook page, enter your PnP PowerShell code in the large white area, i.e.:
152152

153153
```powershell
154-
Connect-PnPOnline -ManagedIdentity
154+
Connect-PnPOnline tenant.sharepoint.com -ManagedIdentity
155155
156156
Get-PnPMicrosoft365Group
157157
```

0 commit comments

Comments
 (0)