Include a custom message to users who see access request page for SharePoint Online

Pandiarajan Karuppasamy 21 Reputation points
2022-09-15T03:48:30.557+00:00

Hi All,

Microsoft SharePoint added the ability to "Include a custom message to users who see access request page" for SharePoint Online.

Since I have a few hundred sites to update, I need to update/create that message via PowerShell. Does anyone know the variable I would use to do that, or have a generic script.

Related to : "https://social.technet.microsoft.com/Forums/en-US/d3bfc18e-fbba-418a-bbed-88a73098550c/include-a-custom-message-to-users-who-see-access-request-page-for-sharepoint-online?forum=onlineservicessharepoint"

Is there any update on CSOM to perform this task ?

Thanks
Pandiarajan

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,202 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.
3,290 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,626 questions
{count} votes

Accepted answer
  1. Tong Zhang_MSFT 9,246 Reputation points
    2022-09-16T07:05:07.7+00:00

    Hi @Pandiarajan Karuppasamy ,

    According to my research and testing, unfortunately, there is currently no way to use CSOM to include a custom message to users who see the access request page in SharePoint Online.

    Thanks for your understanding.


    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.



2 additional answers

Sort by: Most helpful
  1. Pandiarajan Karuppasamy 21 Reputation points
    2022-09-16T07:38:59.087+00:00

    Hi Everyone

    Please vote here for this feature

    https://feedbackportal.microsoft.com/feedback/idea/19d2b677-9235-ed11-a81b-000d3a7dd504

    Thanks
    Pandiarajan

    0 comments No comments

  2. Billy 75 Reputation points
    2023-01-27T11:41:55.0933333+00:00

    Hi

    This can be done with the PowerShell PnP module.

    Instructions here: [https://www.itidea.nl/index.php/how-to-manage-allow-access-requests-with-powershell/

    0 comments No comments

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.