Exemplo n.º 1
0
        static void Main()
        {
            var job = new PnPPartnerPackProvisioningJob();
            job.UseThreading = false;

            job.AddSite(PnPPartnerPackSettings.InfrastructureSiteUrl);

            job.UseAzureADAppOnlyAuthentication(
                PnPPartnerPackSettings.ClientId,
                PnPPartnerPackSettings.Tenant,
                PnPPartnerPackSettings.AppOnlyCertificate);

            job.Run();
        }
Exemplo n.º 2
0
        static void Main()
        {
            var job = new PnPPartnerPackProvisioningJob();

            job.UseThreading = false;

            job.AddSite(PnPPartnerPackSettings.InfrastructureSiteUrl);

            job.UseAzureADAppOnlyAuthentication(
                PnPPartnerPackSettings.ClientId,
                PnPPartnerPackSettings.Tenant,
                PnPPartnerPackSettings.AppOnlyCertificate);

            job.Run();
        }