Select to view content in your preferred language

Add MSAL to the ArcGIS Online Notebooks Libraries

226
0
07-05-2024 07:31 AM
Status: Open
ky_rs
by
Emerging Contributor

Please consider adding the MSAL library to the ArcGIS Online Notebooks Libraries. MSAL is the Microsoft Authentication Library:

https://pypi.org/project/msal/ 

https://anaconda.org/microsoft/msal 

It allows users and apps to sign in to the Microsoft Identity Platform and obtain API tokens to call the Microsoft Graph API, for example. I use it often for accessing data stored in SharePoint, but it requires a

%conda install msal

 line in the AGOL Notebook, and this install ends up being the majority of the runtime of my notebooks that use it. For notebooks that run often, this is a very inefficient use of CPU time. I think having MSAL pre-installed would be very helpful to anyone that wants to access information from Microsoft APIs.