Connection to office 365 and share point error

Then that’s the issue, documentation states this auth type needs to have those permissions enabled.