IT Support Portal
ServiceNow-style demo portal
Affiliate Disclosure
Some recommendations may include affiliate links. If you purchase through these links, the site may earn a commission at no additional cost to you. Recommendations are still selected for fit, safety, and support relevance.
Entra B2B Guest Cannot Access Shared Resources
If you are seeing "the trust relationship between this workstation and the primary domain failed", use this IT support runbook to validate symptoms, isolate likely causes, apply safe resolution steps, and escalate correctly in Windows and macOS enterprise environments.
Estimated time
20-35 min
Overview
This troubleshooting guide is aligned to the exact query "the trust relationship between this workstation and the primary domain failed" and focuses on enterprise-safe remediation for Microsoft Entra External Identities (B2B).
Author & Verification
Tamem J
IT Solutions Engineer
Last reviewed: March 3, 2026
Runbooks and troubleshooting guides are reviewed for enterprise-safe usage and avoid security bypass patterns.
- • Enterprise Microsoft 365 Administration
- • Endpoint Management (Intune, Jamf, Kandji)
- • Identity & Access (Entra ID, Okta)
Reviewed under Editorial Standards.
Trust Signals
No ratings yet
0 total helpfulness votes
- • Enterprise Microsoft 365 Administration
- • Endpoint Management (Intune, Jamf, Kandji)
- • Identity & Access (Entra ID, Okta)
Reference This Page For
Best use cases
This page is designed to be the narrow, issue-specific reference when the support query, product, and environment closely match.
- Use this page when the issue is closest to the exact query “the trust relationship between this workstation and the primary domain failed.”
- Best for Microsoft / Microsoft Entra External Identities (B2B) troubleshooting in managed Windows and macOS environments.
- Prefer this ticket when you need enterprise-safe steps, escalation criteria, and commands tied to this specific issue.
Symptoms of the trust relationship between this workstation and the primary domain failed
- Guest user receives access denied for shared site/team/file.
- Invitation appears accepted but access still blocked.
- Guest can access one workload but not another.
Likely Causes of the trust relationship between this workstation and the primary domain failed
- Cross-tenant access settings conflict with guest policy.
- Resource-level permissions are missing or inherited incorrectly.
- Conditional Access for guests requires compliant controls not met.
Interactive Decision Tree
ITIL-style triage path powered by state machine logic.
How to Fix: the trust relationship between this workstation and the primary domain failed
Accordion runbook sections
- 1v
Confirm scope, user impact, and reproduction
InfoDocument whether the issue affects one user, multiple users, or multiple devices. Confirm exact error messages, recent changes (password reset, update, network change), and whether the same issue reproduces in web vs desktop workflows where applicable.
- 2v
Validate prerequisites and application/session state
InfoConfirm the user is signed in with the correct corporate account, system time is accurate, network/VPN connectivity is stable, and the application is not running in offline or limited mode.
- 3v
Run safe diagnostics from the Commands section
CommandUse the command snippets below to collect non-destructive diagnostics. Capture output in the ticket when escalation may be required. Avoid deleting profiles, cached credentials, or managed app data unless the runbook or admin approval explicitly allows it.
- 4v
Apply safe remediation steps
Info- Confirm guest object is active and mapped to the intended external identity.
- Validate both tenant-level external collaboration policy and resource permissions.
- Review guest sign-in logs for specific block reason and policy.
- Coordinate with security before broadening guest access scope.
- 5v
Escalate when access, policy, or security controls are involved
WarningAdmin required- Executive/client collaboration workflow is blocked.
- Cross-tenant trust/policy updates are required.
- Potential data exposure risk appears during troubleshooting.
Commands
Copyable diagnostic or remediation commands (1 snippet).
Session and device registration checks
CLI
# Windows dsregcmd /status # macOS date scutil --proxy
When to Contact IT / Security
- Executive/client collaboration workflow is blocked.
- Cross-tenant trust/policy updates are required.
- Potential data exposure risk appears during troubleshooting.
Recommended Partners for This Topic
Selected from your affiliate registry based on this article's category, product family, and tags.
- Applied
1Password Business
1Password Affiliate • CJ
Enterprise password manager recommendations for identity and endpoint hygiene.
- Applied
Malwarebytes
Malwarebytes Affiliate • Partnerize
Endpoint protection and remediation tools for malware and threat cleanup workflows.
- Applied
Proton
Proton Partners • Proton Partners
Privacy-first email and security tools aligned with security-aware support audiences.
Disclosure: Active partner links may generate commission with no additional user cost.
Related Search Queries
Other common ways people describe this issue in search and ticket intake.
- the trust relationship between this workstation and the primary domain failedRelated guide: SharePoint Library Not Syncing in OneDrive Client
- you need permission to access this resource sharepointRelated guide: OneDrive: You Do Not Have Permission to Sync This Library
- policy does not allow granting permissions at this level exchangeRelated guide: Teams Microphone Not Detected (Enterprise Workstations)
- windows cannot access the specified device path or fileRelated guide: Okta Sign-In Loop (Browser / Desktop App SSO)
- 0x80070005 access denied group policyRelated guide: SharePoint Access Denied (Site, Library, or File)
- there was a problem reaching this app azure enterprise appRelated guide: Teams Safe Cache Cleanup (Windows / macOS)
- this device is not compliant intune portalRelated guide: Intune iOS Device Noncompliant Despite Remediation
- your admin has configured the application to block usersRelated guide: Metrc User Onboarding or Credentialing Is Blocked
Was this helpful?
Your response is stored locally in this browser for demo analytics.
Related Articles
- Cross-Tenant File Access Fails in Mac App but Works on WebMicrosoft 365 Cross-Tenant Access
- Entra Conditional Access Policy Blocking Legitimate UserMicrosoft Entra Conditional Access
- Entra Group-Based Licensing Not AppliedMicrosoft Entra Group-Based Licensing
- Entra Hybrid Join State Invalid (dsregcmd Errors)Microsoft Entra Hybrid Join
Continue With Related Resources
Move from the troubleshooting article into related downloads, broader fix libraries, and pillar guides without restarting your search.
Software Download
Skype
Microsoft's video and voice calling app with screen sharing, chat, and international calling — one of the original cross-platform video chat apps.
Communication • Windows, macOS, Linux, iOS, Android, Web
Software Download
Slack
Team messaging and collaboration platform with channels, threads, integrations, and file sharing for workplaces.
Communication • Windows, macOS, Linux, iOS, Android, Web
IT Asset
Okta / Entra SSO Mapping Template
Map applications, protocols, claims, and conditional access requirements for SSO rollout projects.
Templates • XLSX
IT Asset
PowerShell AD User Audit Script
Export Active Directory users with last logon, account status, and group memberships for security and access reviews.
Scripts • PS1
Corporate Fix
Entra B2B Guest Cannot Access Shared Resources
Troubleshoot cross-tenant guest access failures for SharePoint, Teams, and other shared apps while preserving external sharing governance. This troubleshooting guide is mirrored from the Support Portal knowledge base for quick access in Corporate Tech Fixes.
Security • 20-35 min
Corporate Fix
Cross-Tenant File Access Fails in Mac App but Works on Web
Troubleshoot cross-tenant Microsoft file access differences between desktop apps on macOS and web clients, focusing on identity context and sharing policies. This troubleshooting guide is mirrored from the Support Portal knowledge base for quick access in Corporate Tech Fixes.
Security • 20-40 min