SCRT-HQ/PSGSuite

Update-GSGmailAutoForwardingSettings returns 403

Closed this issue · 5 comments

Scope is incorrectly set in function, should be using scope
https://www.googleapis.com/auth/gmail.settings.sharing, not https://www.googleapis.com/auth/gmail.settings.basic.

Working on fix

image

Fix confirmed ^^, checking the rest of the Update-GSGmail* functions to be safe, then pushing out the fix

Confirmed updateAutoForwarding is the only Users.settings that uses the settings.sharing scope.

pull request submitted with fix and version bump, pending CI tests passing to deploy v2.2.1 to PowerShell Gallery with fix

Quick question do i have an update or publishing problem that I am not receiving 2.2.1 when i do the following

capture