Sharepoint page customization

MasterBlaster 166 Reputation points
2022-04-14T16:26:38.573+00:00

Hi,

Hope you are doing good.

I am a site owner/admin of a Sharepoint online site, I want to help grant access to external users to sharepoint site, but i would like to use a customize page or if their is an OOTB option that allows the site owner to fill out couple of fields, namely "name" and "emailaddress".

where name is the name of the external user and email address is the email address of the external user or UPN, owner should then click on save or ok button, which should then create a folder by the name of the user and also send an invite on the address provided.

How do i achieve this?

Microsoft 365 and Office SharePoint Server For business
Microsoft 365 and Office SharePoint Development
Microsoft 365 and Office SharePoint For business Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,251 Reputation points
    2022-04-15T07:53:38.637+00:00

    Hi @MasterBlaster ,
    According to my research and testing, please create a group and add access permissions, then use JSOM to add external users to this group in order to grant external users access to the SharePoint site.

    Here is my test script,(See attachment) please refer to.

    193299-image.png
    (When the button is clicked, the user is added to the group with access permissions)


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.