Skip to content

Instantly share code, notes, and snippets.

View punitganshani's full-sized avatar

Puneet Ghanshani punitganshani

View GitHub Profile
@punitganshani
punitganshani / get-products-from-ado-artifacts.py
Created September 5, 2023 04:27
Azure DevOps Packages List in Python
import os
import requests
import base64
import json
import pandas as pd
# Retrieve variables from system environment variables
organization = os.environ.get("AZURE_DEVOPS_ORG_NAME")
project = os.environ.get("AZURE_DEVOPS_PROJECT_NAME")
feed_id = os.environ.get("AZURE_DEVOPS_FEED_ID")
@punitganshani
punitganshani / Permissions.md
Last active February 26, 2024 16:53
Create AAD App and ClientID/Secrets Programmatically

Create Registration App

Scope

Scope Type Description Admin Consent
Application.Read.All Application Read all applications Yes
Application.ReadWrite.All Application Read and write all applications Yes
Application.ReadWrite.OwnedBy Application Manage apps that this app creates or owns Yes
offline_access Delegated Maintain access to data you have given it access to No