12Knocksinna / Office365itpros

Office 365 for IT Pros PowerShell examples
MIT License
1.28k stars 567 forks source link

Issue with ReportManagersAndDirectReports.PS1 #32

Closed altonbrinja closed 3 years ago

altonbrinja commented 3 years ago

image

12Knocksinna commented 3 years ago

The code works just fine here. It looks like you're having problems with Get-User. Make sure that you have the latest EXO management module loaded and try to run the code line by like to check where things are going wrong. Note the input values and see why they might be a problem. This is all basic PowerShell, so you should be able to debug the code easily in a console or ISE.