Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 07:34 AM - edited 08-04-2025 07:43 AM
Hi @Marco37 ,
Yep, probably this is firewall issue. I've recreated your scenario and I can confirm that approach I've described above will work. So, I created Service Principal and I assigned him Feed Reader permisson. Then I obtained access token using client credential flow and I used that token in following way.
TOKEN = YOUR_TOKEN
ORGANIZATION = YOUR_ORGANIZATION
PROJECT = YOUR_PROJECT
%pip install azure.identity --index-url "https://{TOKEN}@{ORGANIZATION}.pkgs.visualstudio.com/{PROJECT}/_packaging/MyTestFeed/pypi/simple/"