PnP provisioning engine CSOM with Multi Factor Authentication tenant

Copper Contributor

I am trying to use PnP Provisioning engine to create site based on a template. The tenant that I am connecting to to create the site is using Multi Factor Authentication. I don't see a obvious way to authenticate and proceed with creation of sites based on tempalte. Could you please help me here with either sample or an approach to tackle this issue. I am using .NET C# in CSOM in a Console app.

 

Thanks,
Vijay

1 Reply
The only way to do that is let people enter there credentials to authenthicate a better way would be to use a Azure app with client secret which is contextual login. as long as you are in development i would do a seperate tennant or disable MFA for that account