Hi @Tech Santosh · Welcome to Q&A platform and thanks for your query.
The above requirements can be achieved by using B2B User Flow.
i) Access the application & they can onboard and additional users(contractors) as guest users in Azure tenant B.
For this purpose, you need to navigate to:
Azure Active Directory > External Identities > User flows > +New user flow
While creating new user flow, Azure AD Sign up is selected by default as highlighted below. This will allow users in other Azure AD tenant to perform self service sign up and a guest user account will be added in your tenant.
ii) Azure tenant B users to mange the access (via groups that exist in Azure tenant A) for their guest users.
If I understood it correctly, you want to add the guest users to specific groups in Tenant A for access management. You can leverage step 3 of user flow for this purpose where you can require user to specify a value for a custom attribute e.g. UserRole during self service signup. You can then create a dynamic group with query that adds users with UserRole=Contractor to ContractorGroup for instance.
To see the experience, you can try accessing my test application https://crafts.cloud365.in and on the sign in page click on create account link highlighted below:
For step by step instructions on User flows, please refer to https://learn.microsoft.com/en-us/azure/active-directory/external-identities/self-service-sign-up-user-flow
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.