Creating external users in Azure Active Directory via Flow designer "Create User" Azure AD Spoke

Shantanu1
Tera Guru

Hi Experts!

 

I have a requirement to create external users (users having accounts with gmail.com, hotmail.com. yahoo.com etc) in Azure AD via request submitted by ServiceNow.

 

I have tried using the "Create User" action in the Azure AD Spoke and getting the below error as the domains are not verified domain names in my organization & we would want to avoid adding the domains as there would be multiple external users.

 

Shantanu1_0-1699596767826.png

 

 

Shantanu1_2-1699596846130.png

Below is the error I am getting:

 

{
    "Action Status": {
        "code": 1,
        "message": "Error:  The domain portion of the User Login ID is invalid. You must use one of the verified domain names in your organization (Process Automation.a6ea6d1377c52110cc985228c8106167; line 8)"
    }
}

 

Please suggest if I am doing the right steps or I need to change my approach.

Thanks

Shantanu

 

2 REPLIES 2

Anil Lande
Kilo Patron

Hi,

Please check with your AD team and get the list of approved domains for your organisation.

I see you are trying to create user with (gmail.com) which is not valid domain for your organisation.

 

If you expect AD to allow additional domain then you need to allow such domain in AD and AD team need to make required changes.

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Hi Anil,

 

Thanks for the response! We are looking for a way to create external/guest user in Azure AD, Something mentioned in this link:

https://community.nintex.com/nintex-automation-cloud-2/how-to-create-azure-ad-guest-user-60442

 

Thanks,

Shantanu