How to import outlook contacts to ionic app – Draft

1. Login to Microsoft developer console or you can directly go to the console by clicking following link and crate a application with desired name.

2. Grab the application client ID and secret keys from the Microsoft developer app control panel.

3. Now install In App Browser – Install the Cordova and Ionic Native plugins with below commands

4. After installing a plugin’s package called in-app-browser, add it to your app’s NgModule and also import HttpModulesrc/app/app.module.ts.

4.For the sake of simplicity lets use our home page component(src/pages/home/home.ts), add in App Browser to the home module as shown below.

5. Add the button in the home screen to initiating the authorization code/token request. After adding button my home page html will become like below shown.

5. Now define your outlookLogin() method in the home component.

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

0 0 vote
Article Rating
Notify of
Newest Most Voted
Inline Feedbacks
View all comments
Sam Singh
Sam Singh
3 years ago

Do you have an ionic v1 version of this tutorial? I been struggling with it for the last 4 days. I can get the access_token but not the code or the refresh_token I need the refresh token to store in the backend for offline processing. I am getting redirect_uri must be an absolute url error.

Priyatham Krishna
Priyatham Krishna
2 years ago

And How can we do it with angular 5.. Protection Status
Would love your thoughts, please comment.x