question

Sehwag-5088 avatar image
0 Votes"
Sehwag-5088 asked TongZhangMSFT-7548 commented

Sharepoint page customization

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?

office-sharepoint-onlineoffice-sharepoint-server-administrationsharepoint-devoffice-sharepoint-server-customizationoffice-sharepoint-server-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TongZhangMSFT-7548 avatar image
0 Votes"
TongZhangMSFT-7548 answered TongZhangMSFT-7548 commented

Hi @Sehwag-5088 ,
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.





text.txt (1.6 KiB)
image.png (4.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Sehwag-5088 ,

I am checking to see if the problem has been resolved.

If you have any questions or progress, you can contact me in time.

0 Votes 0 ·

Hi @Sehwag-5088 ,

Has the problem been solved? If there's anything you'd like to know, don't hesitate to ask.

Looking forward to your reply.

Thanks for your understanding and support.

0 Votes 0 ·