12Knocksinna / Office365itpros

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

Issue with the script ReportManagersAndDirectReports #25

Closed altonbrinja closed 3 years ago

altonbrinja commented 3 years ago

image

12Knocksinna commented 3 years ago

The problem is that that distinguished name includes an apostrophe, so it needs some special handling. I'm fixing the issue in another script and will look at this afterwards.

12Knocksinna commented 3 years ago

I've added code to handle the apostrophes. Please try again.