Hi,
getting below error in catch : SPSite site = new SPSite(siteurl); line
The Web application at https://xxx-sp-pcc.cloudapp.net/ could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.