Windows Integration Errors

Fix Microsoft AD FS OpenID Connect Error MSIS9321

Olivia MillerOlivia Miller Nov 13, 2026 868 views

Question details

The user needs to troubleshoot AD FS Event ID 364 and OpenID Connect error MSIS9321, which reports that the client is forbidden to access the selfscope resource.

Fix Microsoft AD FS OpenID Connect Error MSIS9321
Product
Microsoft Active Directory Federation Services (AD FS)
Device & OS
not provided
Scenario
An OpenID Connect client requests authentication through AD FS, but authorization for the requested resource fails.
Observed behavior
AD FS records Event ID 364 with an invalid OAuth request error stating that the client is forbidden to access the selfscope resource.
Before you start

Have an AD FS administrator collect the full Event ID 364 message, request timestamp, client ID, redirect URI, resource, and scopes from the failed request. Confirm which AD FS application group or trust belongs to the client before changing permissions.

Solution 1Recommended

Check the client's resource permissions and AD FS access control policy

Use this check first when MSIS9321 explicitly states that the client is forbidden to access selfscope.

The error points to an authorization mismatch, but the event alone does not identify the exact configuration problem. Check both the client-to-resource permission relationship and the applicable access control policy.

OpenID Connect applications are commonly configured under Application Groups. Review a Relying Party Trust only if it is part of this application's actual configuration.

1
Read the complete failure event

On the AD FS server, open Event Viewer > Applications and Services Logs > AD FS > Admin. Locate Event ID 364 at the failed sign-in time and record the client, resource, error details, and activity ID if present.

2
Identify the registered application

Open AD FS Management > Application Groups and locate the group containing the client ID from the request. Inspect its client and Web API entries, where applicable, and compare their identifiers with the requested resource.

3
Inspect client permissions

In an administrative PowerShell session on the AD FS server, run Get-AdfsApplicationPermission to inspect configured client-to-resource permissions. Check that the relevant client and resource identifiers have the required permissions and scopes; do not add broad grants merely to bypass the error.

4
Review the applicable policy

In AD FS Management, open the relevant Web API properties and review its access control policy and permitted clients. If the deployment uses a Relying Party Trust for this flow, open AD FS Management > Relying Party Trusts and verify that the intended policy is applied to that trust.

5
Retest the same request

After the administrator corrects any confirmed mismatch, start a new sign-in from the client application. Return to AD FS > Admin in Event Viewer and check whether MSIS9321 recurs.

Check the client's resource permissions and AD FS access control policy
Keep access changes targeted: Policy names and available controls vary by AD FS version and application configuration. Grant only the access required by the intended client, resource, and users.
Free Microsoft Office alternative

Use WPS Office for everyday document work while AD FS is investigated

WPS Office does not repair AD FS policies or resolve MSIS9321. For document work that does not depend on your organization's AD FS-protected services, it offers a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for a smooth transition.

Work with locally available documents while administrators investigate the authentication failure.Open and edit Microsoft Word .docx, Excel .xlsx, and PowerPoint .pptx files.Use a familiar interface for writing, spreadsheets, and presentations.Move existing Office files into a lightweight suite without manually recreating them.
microsoft office alternative - wps office

Frequently Asked Questions

What does AD FS error MSIS9321 mean?

In this scenario, it means AD FS rejected an OAuth request because the client was not authorized to access the selfscope resource. Check the full message under Event Viewer > Applications and Services Logs > AD FS > Admin to identify the affected request.

Should I check Application Groups or Relying Party Trusts?

For an OpenID Connect application, start with AD FS Management > Application Groups and locate the registered client and related Web API, where applicable. Check Relying Party Trusts only if that trust is part of the application's configuration.

Does Event ID 364 always indicate a client permission problem?

No. Event ID 364 can accompany different federation request failures. Use the detailed error text, such as MSIS9321 and the selfscope message, to narrow the investigation rather than relying on the event number alone.

What should I do if the permissions and policy already look correct?

Compare the actual client ID, redirect URI, resource, and scopes with the registered configuration. If the error persists, provide sanitized event details and configuration information to Microsoft support or a dedicated AD FS support forum.

Can installing WPS Office fix the AD FS authentication error?

No. WPS Office cannot change server-side AD FS authorization or restore access to protected services. It can serve as an alternative for working with locally available Office-format documents while the AD FS issue is investigated.