Hello, thanks for writing the tutorial. We're seeing 2 errors when we attempt to implement this script.
The term 'Connect-ExchangeOnline' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Stack trace: at {ScriptBlock}, {No file}: line 115
The term 'Set-UserPhoto' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Stack trace: at {ScriptBlock}, {No file}: line 118