"Set-PnPSite -DefaultLinkToExistingAccess $false -DefaultSharingLinkType None" doesn't work with App Only connection #2606
Unanswered
hicotton02
asked this question in
Q&A
Replies: 1 comment 1 reply
-
also, manually adding the -Identity parameter with the site url changes nothing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Connect-PnPOnline -Url "https://xxxxxx.sharepoint.com/sites/yyyyyy" -ClientId "[GUID]" -CertificatePath "C:\Users\test\cert.pfx"
Set-PnPSite -DefaultLinkToExistingAccess $false -DefaultSharingLinkType None
When trying to run the two commands above, they both act as they successfully run. I do connect to the site and am able to do a "Get-PnPSite" and return the correct URL, but when I send the 2nd command, it completes after a short pause, but the UI shows no changes.
im using PNP version 1.12.0
Beta Was this translation helpful? Give feedback.
All reactions