How Should Contoso Let Fabrikam Developers Use Existing Credentials?
A company named Contoso, Ltd. has an Azure Active Directory (Azure AD) tenant that is integrated with Microsoft 365 and an Azure subscription. Contoso has an on-premises identity infrastructure. The infrastructure includes servers that run Active Directory Domain Services (AD DS) and Azure AD Connect. Contoso has a partnership with a company named Fabrikam. Inc. Fabrikam has an Active Directory forest and a Microsoft 365 tenant. Fabrikam has the same on- premises identity infrastructure components as Contoso. A team of 10 developers from Fabrikam will work on an Azure solution that will be hosted in the Azure subscription of Contoso. The developers must be added to the Contributor role for a resource group in the Contoso subscription. You need to recommend a solution to ensure that Contoso can assign the role to the 10 Fabrikam developers. The solution must ensure that the Fabrikam developers use their existing credentials to access resources What should you recommend?
Community Insight
This item tests external identity for cross-tenant Azure RBAC access — the trap is choosing an on-premises forest trust or a Microsoft 365 organization relationship, neither of which creates an identity that Contoso's Azure AD tenant can grant a role to.
Contoso must give 10 Fabrikam developers the Contributor role on a Contoso resource group while letting them sign in with their existing Fabrikam credentials. The answer is Azure AD B2B collaboration: create guest accounts in the Contoso Azure AD tenant and assign the Azure RBAC role to those guest objects.
The most common wrong pick is A: creating cloud-only user accounts in Contoso, a brand-new credential set that directly violates the 'use their existing credentials' requirement (and adds administrative overhead). B (forest trust) is the second trap, because it addresses on-premises AD DS authentication but does nothing for Azure AD identities or RBAC role assignment.
Community Discussion (24 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Azure AD B2B collaboration is the designed mechanism for giving external partners access to resources in your tenant with their own credentials. When Contoso creates guest accounts for the Fabrikam developers, each guest object in the Contoso Azure AD tenant is backed by the user's home identity in Fabrikam's Azure AD (federated with Fabrikam's AD DS via Azure AD Connect), so they authenticate with their existing work credentials. The guest user object then becomes a normal security principal in Contoso's directory and can be assigned the Contributor role at the resource group scope. This satisfies both requirements of the question at once: existing credentials and a valid RBAC assignment. As Gowind's linked Microsoft article puts it, "the partner uses their own identity management solution, so there is no external administrative overhead for your organization."Why the Other Options Are Wrong
A is wrong because cloud-only accounts create a second, unrelated credential set that the Fabrikam developers would have to manage — the exact opposite of the stated requirement. B is wrong because an AD DS forest trust only affects on-premises Kerberos/NTLM authentication; Azure RBAC requires the identity to exist in the Contoso Azure AD tenant, and a forest trust does not project Fabrikam users into that tenant. C is wrong because an organization relationship between Microsoft 365 tenants is an Exchange Online construct used for cross-tenant free/busy and calendar sharing, as Gowind pointed out — it grants no access to Azure resources or role assignments. That leaves D as the only option that produces an assignable identity in the correct directory.Community Comment Notes
Consensus is overwhelming: Gowind, Snownoodles, Thanveer, sarabjeet22, MeisAdriano and lombri all select D, with Snownoodles summarizing it as "B2B, use own pasword, guest" and sarabjeet22 simply noting "10 users, create guest accounts D". Gowind also correctly disqualifies C, citing Microsoft's organization-relationship documentation for the fact that it only shares calendar information with an external business partner. MeisAdriano walks through A/B/C rejection using the existing-credentials requirement, which mirrors the reasoning above. Toschu adds a worthwhile modern footnote: since late 2023 you could alternatively use cross-tenant synchronization, which creates B2B collaboration users (member or guest type) — but the exam scenario is still answered by guest accounts.Official Reference
Exam Strategy
When a scenario says external partner users must use their existing credentials for Azure resources, immediately map that to Azure AD B2B guest accounts — role assignment in Azure always requires a principal in the tenant that owns the subscription. Eliminate on-premises trust options (they never create an Azure AD identity) and Microsoft 365 sharing options (they never grant Azure RBAC access) before you evaluate user-provisioning choices.
Frequently Asked Questions
Why is a forest trust between Contoso and Fabrikam AD DS not enough here?
A forest trust only enables on-premises Kerberos authentication. Azure RBAC requires a user object in the Contoso Azure AD tenant, and a forest trust does not create one.
Can Contoso guest accounts be assigned Azure RBAC roles?
Yes. Once the Fabrikam developers exist as guest users in the Contoso tenant, they can be assigned Contributor on the resource group just like any other security principal.
Related Analysis
Practice All AZ-305 Questions
Access 95 questions with complete answers and detailed explanations.
View Full AZ-305 Practice Test →