Tags » Microsoft SharePoint

O365 CSOM - Client Side Object Model examples

Here are some examples on how to use CSOM with O365:

This is Microsofts’ link on the matter for more examples:


Remove SiteCollection

 var tenantAdminUri = new Uri(tenantAdminUrl);
 string realm = TokenHelper.GetRealmFromTargetUrl(tenantAdminUri);
 var token = TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, tenantAdminUri.Authority, realm).AccessToken;
 using (var tenantContext = TokenHelper.GetClientContextWithAccessToken(tenantAdminUri.ToString(), token))
 // Set the time out as high as possible
 tenantContext.RequestTimeout = int.MaxValue;

 var tenant = new Tenant(tenantContext);

 //start the SPO operation to create the site
 SpoOperation op = tenant.RemoveSite(webUrl);
 tenantContext.Load(op, i => i.IsComplete);
 tenantContext.RequestTimeout = int.MaxValue;

 while (!op.IsComplete)
 Console.WriteLine("Waiting 30 seconds site to be provisioned");
 //wait 30seconds and try again

… 368 more words

Use Microsoft SharePoint Designer, It Is Highly Recommended

Benefits of Microsoft SharePoint

Why should Microsoft SharePoint Designer be used? Is this the only usable software that affects businesses well? Or are there others too? 319 more words


SharePoint Workflows: Friend Or Foe?

We are delighted to be able to share a great post today from respected ECM industry commentator Jeff Shuey, who has worked for all the leading lights in the industry and who is now Chief Evangelist at… 1,249 more words


Office 365( O365 ) - Client application registration, authentication and authorization


I am currently working on a client side application (console app) that needs to connect to a O365 site and do some stuff with CSOM. 561 more words


IT Training By 19 Years Experienced Solution Architect

Training By 19 Years Experienced Solution Architect

Phone: +91-9866495966 Mail: prasad_pnvrk1@yahoo.com



I am Prasad PNVRK and I work as a Solution Architect 

My brief Profile is  593 more words

Enterprise Architect

When the going get's tough call a Microsoft Partner

Microsoft often gets a hard time for its security and the confidence customers can have in its product. Recent comments in the press around the benefits of Open Source as a more secure and transparent option misses a critical component in the debate and evaluation criteria – Partnership and Structure. 482 more words

Computers And Internet