Permission & Access Issues

Fix InfoPath Publishing Credential Prompts in SharePoint Online

Emma BrownEmma Brown Nov 25, 2026 868 views

Question details

Resolve repeated credential prompts when publishing an InfoPath form to a SharePoint Online site.

Fix InfoPath Publishing Credential Prompts in SharePoint Online
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.
Before you start

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.

Solution 1Recommended

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.

1
Involve an administrator

Ask a Global Administrator or an administrator with the required SharePoint Online permissions to review the request and confirm that the change is permitted.

2
Connect to SharePoint Online PowerShell

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.

3
Check and change the setting

Run Get-SPOTenant | Select-Object LegacyAuthProtocolsEnabled to check the current value. If the change is approved, run Set-SPOTenant -LegacyAuthProtocolsEnabled $True.

4
Test publishing again

In InfoPath, use File > Publish to retry publishing the form to the affected SharePoint Online Forms library.

Review and Enable SharePoint Online Legacy Authentication
If the prompts continue: Compare the affected and working sites' permissions and policies with your administrator. Share the site URLs privately with your administrator or support team, not in a public forum.
Free Microsoft Office alternative

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.

Edit documents with a familiar Office-style interfaceWork with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a lightweight suite for everyday document tasksCreate and edit office documents separately from the InfoPath publishing workflow
microsoft office alternative - wps office

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.