question

Rahul-7230 avatar image
0 Votes"
Rahul-7230 asked ·

Create Azure B2b user with Graph API with no email invite and accepted status

Hi Team,

I'm looking for an option to automate B2b process . I want to change the user status from Pending acceptance to Accepted via Graph API or Powershell.

No need to send invite. Just need to create a user as B2B user with accepted state in Azure AD.

Is there a way to do it in Graph API or Powershell ?

azure-ad-b2b
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

joonasw avatar image
0 Votes"
joonasw answered ·

Not possible. The user has to accept the invitation through interactive authentication. I'd imagine it's due to security concerns that could arise if I could add Satya Nadella from Microsoft to my tenant.

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Rahul-7230 avatar image
0 Votes"
Rahul-7230 answered ·

Hi Joonasw,

I suppose it's possible I'm checking MS documentation.

https://docs.microsoft.com/en-us/azure/active-directory/b2b/add-user-without-invite

Let me know your thoughts here.

· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Ah, seems I might be wrong. So if you have a user from another tenant in your tenant, and you add them to the Guest Inviter role, they can add guests from their tenant without requiring acceptance. Also, you can add them and then allow them to access an app through a direct sign-on link. (though they still have to do consent at that point)

0 Votes 0 · ·
MrAzureAD avatar image
0 Votes"
MrAzureAD answered ·

Between AAD tenants there was a feature called "autoredemption" to do this. This must be configured on the inviter and invitee tenant. The "permission review" screen that the newly joined B2B users see then disappears and user state is set straight to "Accepted".

Greetings,
MrAzureAD

· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MrAzureAD : I didn't get what feature "autoredemption" ? Is there any reference or KB article on how to implement it ?

Never heard about this feature ?

0 Votes 0 · ·