Select to view content in your preferred language

Why is MSAL missing from the ArcPro package manager at 3.3?

204
10
Wednesday
FredSpataro
Frequent Contributor

Hi All, 

We have a toolbox of specialized scripts that move data around various enterprise systems.  This worked fine with ArcMap and ArcPro up thru 3.1.   

Our latest installs of Pro are 3.3.2 (enterprise level rollout) and the toolbox is failing b/c the package isn't installed and users aren't able to use the UI package manager to install it.  Many of the other microsoft and auth packages are found: azure-storage, azure-core, google-auth etc... So why is MSAL not there? 

 

Thanks  

0 Kudos
10 Replies
FredSpataro
Frequent Contributor

Update:  It's possible we manually installed at the command line in the older 3.1 and I've just forgotten about it.  It seems to have successfully installed running: conda install microsoft::msal at the command line ... but why make me work so hard 🙂 ... what use is a package manager UI that can't install all the packages... 

0 Kudos
Luke_Pinner
MVP Regular Contributor

I'm using 3.3.0 and MSAL is available to install into my cloned env from the package manager UI.

0 Kudos
FredSpataro
Frequent Contributor

Thanks Luke! That's odd, have you ever installed it before? Here's my package manager:

FredSpataro_3-1746660952352.png

 

0 Kudos
Luke_Pinner
MVP Regular Contributor

Luke_Pinner_0-1746695520291.png

And you don't need to install from the microsoft channel, it's in main (defaults):

> conda config --show channels
channels:
- esri
- defaults
> conda search msal
Loading channels: done
# Name Version Build Channel
msal 1.22.0 py310haa95532_0 pkgs/main
msal 1.22.0 py311haa95532_0 pkgs/main
msal 1.22.0 py312haa95532_0 pkgs/main
msal 1.22.0 py38haa95532_0 pkgs/main
msal 1.22.0 py39haa95532_0 pkgs/main
msal 1.25.0 py310haa95532_0 pkgs/main
msal 1.25.0 py311haa95532_0 pkgs/main
msal 1.25.0 py312haa95532_0 pkgs/main
msal 1.25.0 py313haa95532_0 pkgs/main
msal 1.25.0 py38haa95532_0 pkgs/main
msal 1.25.0 py39haa95532_0 pkgs/main
0 Kudos
Luke_Pinner
MVP Regular Contributor

Something is not right with your screenshot - you have nowhere near as many packages available (~10K vs 28K) as I do.  What does conda config --show channels output?

0 Kudos
FredSpataro
Frequent Contributor

@Luke_Pinner thanks for digging deeper on this!

 

What i'm seeing is not isolated to my machine... a couple of machines in my office and at least one at a client location as well but all are showing that 10K range of packages.


FredSpataro_0-1746741623241.png

 

0 Kudos
FredSpataro
Frequent Contributor

@Luke_Pinner had one of my local office users run both config and search commands: both match your output... so it finds msal at the cmd search but can't find it in the UI search ... 

Had my client user run the conda install cmd and it seems successful => msal folder is now in the pkgs folder but his UI doesn't show msal as installed or addable ... they using a citrix env so i'm sure that's somehow causing issues but they are really the ones i need to get working.   

 

idk ... sort of the usual arcgis voodoo

0 Kudos
DanPatterson
MVP Esteemed Contributor

related

Add MSAL to the ArcGIS Online Notebooks Libraries - Esri Community

and conda install, not the package manager


... sort of retired...
0 Kudos
FredSpataro
Frequent Contributor

Adding another related: https://community.esri.com/t5/python-questions/missing-soap-packages-after-upgrading-to-3-1-1/m-p/12...

 

Seems like the same 'package manager acting weird and different for each user' kind of issue, no explanation about why but workaround is to install directly from the conda command line...  

0 Kudos