Forum Discussion
Updated access request options
Hello,
As known from the past the address someone@example.com was used for all new SharePoint sites (or OneDrives) in the access request option. I saw Microsoft has fixed the issue, they added a new default option to send the mails to the site (or group) owners.
Previously I wrote a script to set the correct mail recipients every night. I want to change the previous setting back to the new default. The problem is I don't know what value or property is the new default? Does anyone know how to set the new default via Powershell?
With Set-PnPRequestAccessEmails I can set the mail address (like in the old method), or leave the value empty. An empty value disables the access request setting.
1 Reply
- StephenRice
Microsoft
Hi TobiasAT,
We didn't make any changes to the API side of this so I would expect your scripts to continue working as before. The main thing we changed was to just make it more clear who was receiving the request. Before, seeing someone@example.com meant we were sending to the default recipient. Now we clearly specify if you have the default selected or have set a different address. Hope that helps!
Stephen Rice
OneDrive Program Manager II