Error on ApplicationIdAndSecret Authentication with O365

The solution to this was to add the app permissions (shared read/write, etc) in azure. Once this was done, and the app was given admin approval, I was able to use the app ID, tenant Id, o365 user name and password, with the InteractiveToken selected from the AuthenticationType dropdown.