SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1.01k forks source link

No command to set a custom message for access request page #2597

Closed rom-1 closed 4 years ago

rom-1 commented 6 years ago

Category

Since about March 2018 it is possible to set a custom message at the access request page GUI in Sharepoint Online. See Screenshot here.

Since we are setting up our Sharepoint Webs using PnPPowershell, we want to add a message here using powershell. Since March I am monitoring the changelog and the Documentation of Set-PNPRequestaccessmails, but there does not seem to be any change or addition here.

Am I missing something? Is there a pnp powershell command available to change the custom message for access request page? Is it on the roadmap?

TheMiao commented 6 years ago

@rom-1
Could you provide me the link for the doc you read and also reproduce steps?

I would like to test it from my end.

rom-1 commented 6 years ago

@TheMiao thank you for taking a look at this issue.

I am sorry, I do not understand which kind of doc you are requesting from me. I just wanted to point out that Microsoft introduced a new feature in Sharepoint Online in beginning of 2018 ("access request settings -> custom message") which I seem to not be able to setup using Set-PNPRequestaccessmails or any similar command.

Either this feature is not implemented in SharepointPnP yet, or I am missing the documentation for it. In the first case I wonder if this missing option is going to be implemented soon....

Sorry, I am not sure how you can reproduce steps of a missing command/argument.

rom-1 commented 6 years ago

Also, quoting a technet support reply dated May 23th 2018, telling us sth. about the SharepointOnline.CSOM... maybe thats why it is not possible yet for SharepointPnP to implement?

I check the latest version(16.1.7618.1200) of the Microsoft.SharePointOnline.CSOM package, unfortunately ,it can't provide a web property to set the "Include a custom message to users who see access request page" for Access Requests Settings currently

TheMiao commented 6 years ago

I've found the solution provided by other developers It may help you how to Set up and manage access requests

https://www.c-sharpcorner.com/blogs/allow-access-requests-email-settings-in-sharepoint-site-using-pnp-powershell

https://skodvinhvammen.wordpress.com/2018/08/08/configure-settings-for-access-requests-and-sharing-using-microsoft-flow-and-rest/

rom-1 commented 6 years ago

Both links do not solve the issue: These are solutions how to set the Recipient EMail Address. We are already doing that for years with PnPPowershell, no problem. Our issue is: We want to set the "Custom Message" part using PowerShell (not REST).

2018-10-30_11h02_19

TheMiao commented 6 years ago

Thanks for the information.

Unfortunately I haven't found any docs or reference either from SP PnP Cmdlets list below. https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps#webs

I guess the the Cmdlets will add soon but still not yet.

rom-1 commented 6 years ago

Yes, thats exactly what I figured out in my original posting, quote:

Is there a pnp powershell command available to change the custom message for access request page? Is it on the roadmap?

So, thats why I just wanted to report back that this is a missing feature....

rom-1 commented 5 years ago

As there seem to be no progress in this topic, can sombody please label this as uservoice-request? I mean, this is obviously a missing parameter of the cmdlet Set-PNPRequestaccessmails

DeanGross commented 5 years ago

I have the same request

msft-github-bot commented 4 years ago

This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 6 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open the issue.