jhoneill / MsftGraph

A PowerShell module for interacting with the Microsoft Graph API for Directory, OneNote, OneDrive, Outlook, Planner, Teams and Sharepoint in Office 365 or consumer versions
MIT License
93 stars 12 forks source link

mixed use of $Script:Client_secret and $Script:ClientSecret #5

Closed alexrgreenwood closed 2 years ago

alexrgreenwood commented 2 years ago

Hi James I couldn't get the -isapp parameter to work until i replaced some instances of $Script:Client_secret in Authentication .ps1, it started working when i replaced it with $Script:ClientSecret (on line 230)

happy to do the PR if you agree that its a problem , just thought i would check first

jhoneill commented 2 years ago

Thanks. Not sure how that slipped through, but yes, if you have code to fix it please send a PR.