0

I have two environments of MS Project. One is Project Server 2013, and the other is Project Online. With just the PWA Url, can I know which type of environment I'm trying to connect?

If just the URL is not enough, what's the minimum of information needed to know this programmatically?

I need to know this because apparently, I'll need to use NetworkCredential to login to Project Server, but if I'm connecting to Project Online, then I'll need to use SharePointOnlineCredentials.

1

Project Online is always going to have a host name like tenant.sharepoint.com. Your on-prem instance is going to have it's on specific url. This should be sufficient enough for you to determine which credential method to use.

  • Now that's being clever! Nice one mate :) – Pedro Gordo Aug 9 '16 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.