I’m developing an app for installation in an enterprise organization. The app needs to know the enterprise email for all members of the organization.
It looks like the SCIM API provides email addresses for everyone in the org. But that requires the admin’s credentials, which would be in addition to simply installing the app. And it requires the org to use SAML/SCIM, which I’m not sure all do.
I also saw a blog post about this, but again, it seems limited to just the administrator and not apps installed by the administrator. https://github.blog/changelog/2019-03-25-view-organization-members-email-addresses/
So, what’s the best way for an app installed in an enterprise to see all the enterprise’s user emails?