Project SDK (2013) still work in ProjectOnline? RRS feed

  • Question

  • Hello, its been a while since i did a program using Project SDK 2013 to work with ProjectOnline with C#. It always worked for me, but now i trying to do a new program that simple query the projects ob the pwa url. However when i execute the code i get the error 400 (Bad request)

    Since there is no specific SDK to ProjectOnline i always used this one and it worked, but now i am getting this error. Someone nows if this sdk still working with ProjectOnline? I that's so, what i am missing?

    i added the following dlls:


    Microsoft.SharePoint.Client (16.0)

    Microsoft.SharePoint.Client.Runtime (16.0)

                ProjectContext projectContext = new ProjectContext(pwaUrl);
                SecureString secureString = new SecureString();
                foreach (var i in "P@ssw0rd")
                Microsoft.SharePoint.Client.SharePointOnlineCredentials spo = new Microsoft.SharePoint.Client.SharePointOnlineCredentials(user, secureString);
                projectContext.Credentials = spo;
                //ProjectCollection projetos = projectContext.Projects;
                catch (Exception e)
                    var variable= e.Message;

    Friday, May 24, 2019 1:00 PM


All replies