Fix InfoPath Publishing Credential Prompts in SharePoint Online
Question details
Resolve repeated credential prompts when publishing an InfoPath form to a SharePoint Online site.

- Product
- Microsoft InfoPath and SharePoint Online
- Device & OS
- not provided
- Scenario
- The user is publishing an InfoPath form to a SharePoint Online Forms library. Publishing to another site works.
- Observed behavior
- Publishing to one site repeatedly requests credentials; the prompts may be related to legacy SharePoint authentication.
Confirm that you can publish to the working site with the same account, and identify the affected site and Forms library. Ask an administrator to review your organization's security policy and current Microsoft support for legacy authentication before changing a tenant-wide setting.
Review and Enable SharePoint Online Legacy Authentication
Use this administrator-led approach if InfoPath publishing requires legacy authentication and your organization's policy permits it.
The setting applies to the entire SharePoint Online tenant, not just the affected site. Enabling legacy authentication can increase security risk and may not work if Microsoft or your organization's policies block the authentication method.
Ask a Global Administrator or an administrator with the required SharePoint Online permissions to review the request and confirm that the change is permitted.
In the SharePoint Online Management Shell, run Connect-SPOService -Url https://<tenant>-admin.sharepoint.com, replacing <tenant> with your tenant name, and sign in with an authorized administrator account.
Run Get-SPOTenant | Select-Object LegacyAuthProtocolsEnabled to check the current value. If the change is approved, run Set-SPOTenant -LegacyAuthProtocolsEnabled $True.
In InfoPath, use File > Publish to retry publishing the form to the affected SharePoint Online Forms library.

Use WPS Office for Everyday Office Documents
WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for easier migration. It does not fix InfoPath authentication or publish InfoPath forms to SharePoint Online.

Frequently Asked Questions
Does enabling legacy authentication affect only the problem site?
No. Set-SPOTenant -LegacyAuthProtocolsEnabled $True changes a SharePoint Online tenant-wide setting. An administrator should assess its security impact before enabling it.
How can I check whether legacy authentication is enabled?
An authorized administrator can connect with Connect-SPOService in the SharePoint Online Management Shell, then run Get-SPOTenant | Select-Object LegacyAuthProtocolsEnabled.
What if InfoPath still asks for credentials after the setting is enabled?
Ask your administrator to compare permissions and authentication policies for the affected and working sites. The setting may not resolve prompts if the required authentication method is blocked or no longer supported.
Can WPS Office publish an InfoPath form to SharePoint Online?
No. WPS Office can be used for common office documents, but it does not publish InfoPath forms or change SharePoint Online authentication settings.




