This project has moved and is read-only. For the latest updates, please go here.

Does this work with federated authentication for SharePoint Online?

Feb 28, 2014 at 3:29 PM
I can authenticate using this tool to one SharePoint Online tenant that does not use federated authentication, but I cannot authenticate using this tool to another SharePoint Online tenant that authenticates against the on-prem ADFS proxy.
Coordinator
Mar 2, 2014 at 6:04 PM
That's weird, because in the background I'm using the SharePointOnlineCredentials class. This class should support both SharePoint Online accounts (user@tenant.onmicrosoft.com) and Federated accounts (user@company.com).

Could you please retry and if it fails again, please provide logging information. Please use Verbose logging (Options » Logging Level » Verbose).
Jun 21, 2014 at 7:29 PM
When trying to authenticate to SharePoint Online I keep getting the error, "The Application ID (App ID) for which the service ticket is requested does not exist on the system.
Sep 4, 2014 at 5:18 PM
Yeah I am getting the same error as dbottjer.
Below is the Verbose logging.

Time;Machine;Process;Version;Category;EventId;Level;Correlation;Message
04-09-2014 12:17:04.767;ZEVLE1;SPCB2013.exe;1.3.1.0;Logs;0;Information;2b7e950e-1fe1-4443-a85b-16e948470091;Log level set to Verbose
04-09-2014 12:17:04.774;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Verbose;2b7e950e-1fe1-4443-a85b-16e948470091;New correlation, calling method: OnCheckedChanged
04-09-2014 12:17:09.990;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Verbose;9a9a44c8-d095-42d7-af54-c8753548b9bb;New correlation, calling method: OnClick
04-09-2014 12:17:18.338;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Information;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2;Initializing site collection (ClientContext) for https://microsoft.sharepoint.com/teams/fedcap.
04-09-2014 12:17:18.345;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Information;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2;Using SharePoint Online credentials for user 'zevle@microsoft.com'. 04-09-2014 12:17:18.352;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Information;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2;Retrieving (execute) the ClientContext.
04-09-2014 12:17:20.075;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2;The Application ID (AppID) for which the service ticket is requested does not exist on the system.
04-09-2014 12:17:20.082;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2;Microsoft.SharePoint.Client.IdcrlException: The Application ID (AppID) for which the service ticket is requested does not exist on the system.
04-09-2014 12:17:20.089;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.Idcrl.IdcrlAuth.ParseFPDomainName(XDocument xdoc)
04-09-2014 12:17:20.096;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.Idcrl.IdcrlAuth.RequestFederationProviderInfo(String domainname)
04-09-2014 12:17:20.103;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.Idcrl.IdcrlAuth.GetFederationProviderInfo(String domainname)
04-09-2014 12:17:20.110;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.Idcrl.IdcrlAuth.InitFederationProviderInfoForUser(String username)
04-09-2014 12:17:20.116;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.Idcrl.IdcrlAuth.GetServiceToken(String username, String password, String serviceTarget, String servicePolicy)
04-09-2014 12:17:20.122;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.Idcrl.SharePointOnlineAuthenticationProvider.GetAuthenticationCookie(Uri url, String username, SecureString password)
04-09-2014 12:17:20.128;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.SharePointOnlineCredentials.GetAuthenticationCookie(Uri url, Boolean refresh)
04-09-2014 12:17:20.134;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.ClientRuntimeContext.SetupRequestCredential(ClientRuntimeContext context, HttpWebRequest request)
04-09-2014 12:17:20.140;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.SPWebRequestExecutor.GetRequestStream()
04-09-2014 12:17:20.146;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate()
04-09-2014 12:17:20.152;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest()
04-09-2014 12:17:20.159;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
04-09-2014 12:17:20.165;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at SPBrowser.SiteAuth.InitClientContext()
04-09-2014 12:17:20.172;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at SPBrowser.SiteCollections.Add(Uri url, String username, String password, AuthN authn)
04-09-2014 12:17:20.178;ZEVLE1;SPCB2013.exe;1.3.1.0;General;0;Exception;81b4b9fb-c73a-412c-91de-55ba6ed6b9a2; at SPBrowser.AddSite.LoadSite()
Oct 10, 2014 at 12:01 AM
Same as dbottjer for me as well: "The Application ID (AppID) for which the service ticket is requested does not exist on the system"
Coordinator
Oct 15, 2014 at 7:32 AM
What I realized that it could be due to the authentication infrastructure. If you are directly connecting to SharePoint Online and using the "default" Microsoft products for authentication it should work as expected. If another authentication product is in between this could interfere with the authentication process based on CSOM. The authentication steps done in SPCB is nothing special and I can't change this.

I'm curious whether this is the case? Are there any other authentication products being used? Would love to hear from you.
Dec 29, 2014 at 10:48 PM
I'm now convinced it has something to do with my home network. While I'm at the office, everything works fine. When I'm at home, all I can get is "The Application ID (AppID) for which the service ticket is requested does not exist on the system."

I have no idea what it could be as far as the network goes. Any ideas? Anyone else have different results when working from different networks?
Jan 5, 2015 at 6:50 PM
Yep, confirmed. I just called and talked to tech support at my ISP and the "The Application ID (AppID) for which the service ticket is requested does not exist on the system" message is occurring because I'm on a residential network instead of a business network. Looks like I'll have to go to the office for these kinds of things. Argh!
Marked as answer by BdeJager on 1/12/2015 at 10:40 PM
Coordinator
Jan 13, 2015 at 6:42 AM
Sorry to hear you have to move to the Office Network to use the tool, although I'm glad this is the answer to the issue. Enjoy the tool @ the office ;-)