Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14243

how to identify outlook admin email with python

$
0
0

I'm working on a project and i need to verify if an outlook email is an admin without having the password i don't know if it's possible

Autodiscover doesn't provide the infomation

import requestsuser_agent = 'Microsoft Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.12026; Pro)'headers = {'User-Agent': user_agent, 'Accept': "application/json"}email = "user@example.com"r = requests.get('https://outlook.office365.com/autodiscover/autodiscover.json/v1.0/{}?Protocol=autodiscoverv1'.format(email), headers=headers, allow_redirects=False, proxies=proxies)


Viewing all articles
Browse latest Browse all 14243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>