microsoft / microsoft/CopilotStudioSamples
SharePoint SSO with external user
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 797
- Forks
- 491
- PR merge metrics
- No merged PRs in 30d
Description
What sample tool are you using?
SharePointSSOComponent
Describe the bug
I have the SharePoint SSO component configured for a site - with two different users - one is an external user, who has access to the sharepoint sites, the other is an internal domain user.
The SPFx is able to authenticate for both users (I have the agent respond with the current user's email on greeting to confirm this).
But when querying, when the external user query something that's within SharePoint the knowledge sources seems to be filtered. Whereas the internal user is able to get responses to those queries.
When using the Demo Site agent, both users are able to query and get responses from SharePoint knowledge source. So it seems that the issue may be the token/permission exchange?
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
Start by reproducing the issue with the SharePointSSOComponent using one external user and one internal domain user, then compare their SharePoint query results with the Demo Site agent. Investigate the token and permission exchange suggested in the report. Done means the external user can query the same permitted SharePoint content as the internal user.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, authorization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100