Fix InfoPath 2013 Connection to the SharePoint Online User Profile Service
Question details
Determine why InfoPath 2013 cannot connect to the SharePoint Online User Profile Service.

- Product
- Microsoft InfoPath 2013 and SharePoint Online
- Device & OS
- not provided
- Scenario
- An InfoPath form needs to retrieve user profile information from SharePoint Online.
- Observed behavior
- InfoPath reports an invalid WSDL, XML, or web service description when accessing the User Profile Service.
Have the User Profile Service URL, the exact error message, and the affected InfoPath form available. Ask a Microsoft 365 administrator to help verify the tenant's authentication configuration and account permissions.
Check the Service URL and Federated Authentication
Use these checks to distinguish a service URL or permissions issue from an authentication limitation.
A WSDL or XML error can occur when InfoPath receives a sign-in page or another response instead of the expected service description. Federated authentication may prevent InfoPath Forms Services from obtaining the Windows security token required in the affected scenario.
Open the form in InfoPath Designer and select Data > Data Connections. Choose the User Profile Service connection, select Modify, and record the configured service URL.
Open the configured service URL in a browser using the affected account. Check whether you receive the expected service description, a sign-in prompt, or an access error; note that browser access alone does not confirm InfoPath compatibility.
Ask a Microsoft 365 administrator to check the tenant's domain and identity provider configuration for federation, claims-based authentication, or SAML. Share the service URL and exact InfoPath error with the administrator.
Have the administrator review Microsoft guidance for InfoPath Forms Services and SharePoint Online authentication, including any applicable limitations on obtaining a Windows security token. Evaluate a supported authentication approach for the tenant rather than changing federation settings solely for this form.

Evaluate a Modern Replacement for the Profile Lookup
Consider rebuilding the lookup when the legacy InfoPath connection cannot use a supported authentication method.
Use WPS Office for Everyday Office Documents
WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for easier migration. It does not fix InfoPath authentication or replace SharePoint User Profile Service connections.

Frequently Asked Questions
Why does InfoPath say the WSDL or XML is invalid?
The service may return a sign-in page or an access error instead of the expected service description. Check the URL under Data > Data Connections in InfoPath Designer, then review the response and authentication configuration with an administrator.
How can I tell whether my domain uses federated authentication?
Ask a Microsoft 365 administrator to review the domain and identity provider configuration in the tenant. They can determine whether the affected sign-in uses federation and assess its effect on the InfoPath connection.
Does opening the service URL in a browser prove that InfoPath can use it?
No. Browser access is a useful initial check, but InfoPath or InfoPath Forms Services may use a different authentication flow. Test the actual form connection as well.
Can WPS Office repair the SharePoint User Profile Service connection?
No. The connection and authentication issue belongs to InfoPath and SharePoint Online. WPS Office is an alternative for standard office documents, not a repair tool for InfoPath service connections.




