Reputation: 4546
I'm trying to create a custom login form with Azure B2C, primarily because I need every registered user to be approved. So I created a lib which has CreateUser
method and it uses Graph API to do so. Now, I see jobTitle
, department
, physicalDeliveryOfficeName
properties for a User (here) but I don't see a Company Name!
I've found TenantDetail Entity at the same page and I'd like to know how are they related and should I create this TenantDetail Entity
first and then associate new users to it?
As a reminder, this is just for having multiple users in my app which may work for a different companies (businesses).
Consequently, I may have Edit user details page later.
Upvotes: 0
Views: 78
Reputation: 14724
The "TenantDetail" entity contains details for the Azure AD tenant rather than users.
You should create a custom attribute for representing the company name for a registered user as described at here.
You can get and set this custom attribute for the user objects using the Graph API as documented at here.
Upvotes: 1