PnP Timer Job - OnPremise Connectivity - TimerJob Run Method is not getting called

Highlighted
Frequent Contributor

Hello,

 

I have written a TimerJob based on PnP Framework and tried to connect to the SP 2013 On-Premise site. 

 

https://msdn.microsoft.com/en-us/pnp_articles/timerjob-framework

 

I have used the below authentication and the issue i am getting is - TimerJob Run method is not getting executed and i do not see exception/error here.

 

public void UseNetworkCredentialsAuthentication(string samAccountName, stringpassword, string domain)

 

The same job is working fine if i tried to connect to SP Online and use the below authentication -

 

public void UseOffice365Authentication(string userUPN, string password)

 

Did someone face this kind of issue. Please let me know.

 

 

Thanks & Regards,

Bhanu

0 Replies