ShareSite doesn't always send mail on success
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
PnP.Framework 1.5.0
I have the following line of code to send an invitation mail to an external user:
var result = ctx.Web.ShareSite(email, ExternalSharingSiteOption.View);
The result.StatusCode returns "CompletedSuccessfully" and most of the times the external user receives the mail.
But sometimes (maybe 1 in 20) there are no mails being sent and this happens randomly.
I have already submitted a ticket in Microsoft 365, but they responded that there are no error logs to be found in both Exchange & SharePoint. They also recommend me to submit this issue here.
Thanks in advance.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the ctx.Web.ShareSite(email, ExternalSharingSiteOption.View) call and compare the CompletedSuccessfully result with the cases where no invitation mail arrives. Reproduce the intermittent behavior if possible and inspect the ShareSite implementation and its handling of the reported status. Done means identifying a reliable cause or limitation and defining a verifiable correction or documented behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100