Forum Discussion

Senthilrajan Kaliyaperumal's avatar
Senthilrajan Kaliyaperumal
Copper Contributor
Jul 20, 2017

Azure Web Api using Client Id and Client Secret

Hello,

We wants to use "using Microsoft.Online.SharePoint.TenantManagement;Office365Tenant tenant = new Office365Tenant(cc);

" api to update user profile proerties in O365 but dont wish to pass tenant admin credentials from any config file. Insteated we wanted to used App level permission.

As part of this analysis I have created Client Id and Client Secret in O365 SharePoint Admin site and verified the approach using client id and client secrest from my Console application. The approach worked file.Good :)

 

But I want this taks to scheduled(to be executed once in a day) and it should not reside in any on-prem environment(The custom logic should be converted as web API, Web Job, Provider-hosted Add-ins or web hooks).

 

Looking for an article or tips or suggestion to implement the same.

 

Thanks in advance,

 

K Senthilrajan

 

 

 

Resources