We help IT Professionals succeed at work.

Identifying account connected to exchange online powershell

84 Views
Last Modified: 2018-09-21
Working on a few Office 365 scripts for teams, etc...one issue I am running into is I need to add the creator of the group to the owner for set-unified group, execute a few teams commands, and then later drop them...so how do I find the user that is connected to the exchange online powershell connection?
Comment
Watch Question

David Johnson, CDSimple Geek from the '70s
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
look in your script for the
Connect-MsolService -Credential

Open in new window

CERTIFIED EXPERT
Most Valuable Expert 2015
Distinguished Expert 2019
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.