Msal and plumsail

Hi, is it MSAL available from Plumsail forms? I would like to connect to Dataverse api. I need to obtain access token and it looks pretty simple with pnp.

https://pnp.github.io/pnpjs/authentication/msaljsclient/

WF

Dear @wflorczyk,
It's not available, but you can import MSAL to the form and use it for requesting access to Dataverse via an Azure AD App.

Do you mean to put: import { MsalClient } from "@pnp/msaljsclient"; somewhere in the code?

WF

Dear @wflorczyk,
The solution is quite complicated for us to describe in a few steps in the community, though it should be possible. Initially, you need to implement a 3-rd library that uses MSAL and obtain token for the current user, build it, and import into the form with $.getScript

Perhaps we can look into a more detailed walk through for the import, but it would likely be a paid support option, as we'll need to assign one of our developers to look into it. You can contact us to estimate the time needed at support@plumsail.com