SharePoint / sp-dev-docs

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

Adding PVA to a SharePoint site using a SPFx solution and enable SSO in it #9321

Open ritikabjee opened 8 months ago

ritikabjee commented 8 months ago

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

πŸ’₯ SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

Additional environment details

Issue description

To add the PVA in SharePoint, we are adding it through a SPFx solution using Application Customizer and can render the PVA on the SharePoint site but facing issues with setting up the SSO. We firstly tried utilizing the sample code mentioned in the MS Documentation https:/github.com/microsoft/PowerVirtualAgentsSamples/blob/master/BuildYourOwnCanvasSamples/3.single-sign-on/index.html But the sample being in JavaScript, when converted using botframework-webchat and msal-browser npm package (in the SPFx solution), some part is not compatible. For e.g. : The Activity Type β€˜invoke’ does not exist. Even if we replace it by event, it keeps on asking for authentication continuously. Need help with enabling the SSO for a PVA to be hosted on SharePoint.

ghost commented 8 months ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.