Do I need a Microsoft Publisher Network for outlook to work?

Our application was rejected from the Microsoft Publisher Network, does that mean we’re not going to be able to OAuth into Outlook?

If you can’t get into MPN, then you can’t get your Azure App to be Publisher Verified.

Microsoft default settings allow users to self-approve Azure apps that are Publisher Verified. All others need administrator approval. This is a Microsoft requirement.

So you can still use OAuth, but your users will need to go through Admin Approval. Most email administrators should understand this process and approve it. We have a doc that helps email administrators that are unsure how to proceed here: https://support.nylas.com/hc/en-us/articles/4508306123421-Microsoft-Office-365-Admin-Approval

What about for personal accounts? outlook.com or hotmail?

Right now, my test email gets this error:

We’re unable to complete your request

unauthorized_client: The client does not exist or is not enabled for consumers. If you are the application developer, configure a new application through the App Registrations in the Azure Portal at Microsoft Azure.

They will be able to self-approve it and continue, but they will see a “Unverified” label for your Azure app.

It looks like you created an Azure app that is for Internal only.

When you to the Azure app Overview, make sure you see “Supported account types: All Microsoft Users”. If it does not, you’ll need to create a new Azure app by following this docu: Creating an Azure auth app | Docs

On step 3, make sure you set it to “Accounts in my organizational directory and personal Microsoft accounts”

Looks like I actually was using the wrong client id in the connector.

Now, I get this:

error=provider_code_request_failed&error_code=45001&error_description=Provider+refused+to+return+refresh_token+using+code

Hey Alex, any guidance on the below?

We have reached out via email to continue investigating this issue privately with you.