Sharepoint page customization

MasterBlaster 156 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?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,209 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,565 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,655 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,795 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,116 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.