How to Set Up Microsoft/Outlook/Live API for Magento
In this article, you will learn how to find your Microsoft/Outlook/Live API and integrate Microsoft Login into Magento Social Login Pro plugin. Please follow the step-by-step instructions below.
Step-by-Step action:
- Log into portal.azure.com.
- Go to the “All services” page.
- Find the “App registrations” service.
![Magento live hotmail msn login.png](https://plumrocket.com/docs/wp-content/webpc-passthru.php?src=https://plumrocket.com/docs/wp-content/uploads/2023/11/magento-2-social-login-pro-integrations-microsoft-1-1.png&nocache=1)
Step-by-Step action:
- Press the “New registration” button
![2 magento live hotmail msn login.png](https://plumrocket.com/docs/wp-content/webpc-passthru.php?src=https://plumrocket.com/docs/wp-content/uploads/2023/11/magento-2-social-login-pro-integrations-microsoft-2.png&nocache=1)
Step-by-Step action:
- Input the application name in the “Name” field.
- In the “Supported account types” field, select the needed type of accounts that will be supported.
- Indicate “Redirect URLs”. To find it, go to your backend-> Plumrocket-> Social Login Pro-> Live / Hotmail / MSN (Microsoft Account)-> Redirect URLs.
![3 magento live hotmail msn login.png](https://plumrocket.com/docs/wp-content/webpc-passthru.php?src=https://plumrocket.com/docs/wp-content/uploads/2023/11/magento-2-social-login-pro-integrations-microsoft-3.png&nocache=1)
After creating, the application page will open. You need to do the following:
Step-by-step guide:
- Go to the “Overview” tab.
- Copy the contents of the “Application (client) ID” field.
- Set it in the extension configurations in the “Application ID” field.
![4 magento live hotmail msn application overview.png](https://plumrocket.com/docs/wp-content/webpc-passthru.php?src=https://plumrocket.com/docs/wp-content/uploads/2023/11/magento-2-social-login-pro-integrations-microsoft-4.png&nocache=1)
Step-by-step guide:
- Go to the “Certificates & secrets” tab.
- Press the “New client secret” button.
- Set the Client’s secret description.
- Set the Client’s secret expiration period.
![5 magento live hotmail msn application certificates and secrets.png](https://plumrocket.com/docs/wp-content/webpc-passthru.php?src=https://plumrocket.com/docs/wp-content/uploads/2023/11/magento-2-social-login-pro-integrations-microsoft-5.png&nocache=1)
Step-by-step guide:
- Copy the contents of the “Value” column.
- Input this value in the “Password” field of the extension configurations.
![6 magento live hotmail msn application certificates and secrets value.png](https://plumrocket.com/docs/wp-content/webpc-passthru.php?src=https://plumrocket.com/docs/wp-content/uploads/2023/11/magento-2-social-login-pro-integrations-microsoft-6.png&nocache=1)
You need to make sure that the Microsoft Graph User.Read permission is enabled in the “API permissions” tab. If it is not, do the following:
Step-by-step guide:
- Go to the “API permissions” tab.
- Press the “Add a permission” button.
![7 magento live hotmail msn application api permissions.png](https://plumrocket.com/docs/wp-content/webpc-passthru.php?src=https://plumrocket.com/docs/wp-content/uploads/2023/11/magento-2-social-login-pro-integrations-microsoft-7.png&nocache=1)
Step-by-step guide:
- Press the “Microsoft Graph” button.
- Choose the “Delegated permissions” point.
![8 magento live hotmail msn application microsoft graph.png](https://plumrocket.com/docs/wp-content/webpc-passthru.php?src=https://plumrocket.com/docs/wp-content/uploads/2023/11/magento-2-social-login-pro-integrations-microsoft-8.png&nocache=1)
Step-by-step guide:
- Go to the “User” section that is located lower.
- Check the “User.Read” checkbox.
![9 magento live hotmail msn application user.png](https://plumrocket.com/docs/wp-content/webpc-passthru.php?src=https://plumrocket.com/docs/wp-content/uploads/2023/11/magento-2-social-login-pro-integrations-microsoft-9.png&nocache=1)
Configuring Magento Microsoft/Outlook/Live Integration in Magento 2 Social Login Pro Extension
In this step you must update your Magento 2 Social Login Pro Extension configuration. In your magento 2 admin panel, go to “Plumrocket” tab in the main menu -> “Social Login Pro” section -> “Configuration” -> “Live / Hotmail / MSN (Microsoft Account)” Tab.
Step-by-Step action:
- Paste Application ID into the relevant field of the “Live / Hotmail / MSN (Microsoft Account)” tab in your backend.
- Paste Password into the relevant field of the “Live / Hotmail / MSN (Microsoft Account)” tab in your backend.
- Press on the “Save” button to save your settings.
![4 Magento 2 Live Hotmail MSN Login Configuration v1 up.jpg](/docs/wp-content/uploads/2020/05/4_Magento_2_Live_Hotmail_MSN_Login_Configuration_v1_up.jpg)
Configuration of Live Hotmail MSN Magento 2 Social Login application is now completed.
Next Step > Return to Social Login Pro API Reference
Configuring Magento Microsoft/Outlook/Live Integration in Magento Social Login Pro Extension
In this step you must update your Magento Social Login Pro Extension configuration. In your magento admin panel, go to “System” -> “Configuration” -> “Plumrocket Inc” -> “Social Login Pro” -> “Live / Hotmail / MSN (Microsoft Account)” Tab.
Step-by-Step action:
- Paste Application ID into the relevant field of the “Live / Hotmail / MSN (Microsoft Account)” tab in your backend.
- Paste Password into the relevant field of the “Live / Hotmail / MSN (Microsoft Account)” tab in your backend.
- “Press on the “Save” button to save your settings.”
![6-Configuring-microsoft msn hotmail v1.0.1 up.png](/docs/wp-content/uploads/2020/05/6-Configuring-microsoft_msn_hotmail_v1.0.1_up.png)
Configuration of Live Hotmail MSN Magento Social Login application is now completed.