An API that connects multiple Microsoft services, enabling data access and automation across platforms
Consume python data api in excel based on Azure AD login
Hey team,
I am trying to consume a Python-based API in Excel.
Just a little background, the Pyhton-based API is connecting to Postgress to read data and perform some transformations and then returning the dataframe in JSON format that we are consuming in Excel.
Now the main question is that we want to perform authentication based on organization and AD group in the API.
Things that we have already tried or can't use:
- Using Graph API(As this requires us to use web browsers so failed)
- Can not pass username/Password/Token as header.
So is it possible for us to authenticate and prompt users to enter their username/password and then return the authenticated username back to API in Python?
I saw in Excel there is an option for us to perform organizational login.