Forum Discussion
Nigel Price
May 02, 2017Iron Contributor
enabling external users on an office 365 using PowerShell
Hi
Does anyone know if I can enable external users on an office 365 site using PowerShell (or PnP PowerShell) ?
Thanks
Nigel
Hi Nigel Price,
I think what you are actually looking for is Sharing a site with an external user. I quickly tried things like new-PnPUser and they don't seeem to work with external users. So I've got the feeling that PnP isn't an option yet? Maybe log an issue with the PnP PowerShell team may help?
- By the way, Sharing with external people a SPO Site is fully supported in the CSOM API so if this is not part of PnP, you can always write your own code