Gerenios / AADInternals

AADInternals PowerShell module for administering Azure AD and Office 365
http://aadinternals.com/aadinternals
MIT License
1.27k stars 216 forks source link

Setup Outlook profile #18

Closed chervaliery closed 2 years ago

chervaliery commented 2 years ago

Hello,

I’am doing some tests and I’m wondering if it is possible to use the Access token retrieve from the Phishing for example, to setup an Outlook profile.

Thank you for your work on this script library.

hidden-69 commented 2 years ago

+1

hidden-69 commented 2 years ago

Or a working webclient to office.com

NestoriSyynimaa commented 2 years ago

Don't know about Outlook profile, as it's located in end point (if that's what you meant).

If this works as it should, you can modify the phishing function as needed to fetch a correct token. Just make sure that you've signed out from all browser sessions. $at = Get-AADIntAccessTokenForEXO -Resource "https://outlook.office.com" -UseDeviceCode Open-AADIntOWA -AccessToken $at