cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lastsight2000
New Member

Create user Azure Ad action empty fields throwing error

I'm trying to use the Create User action in Power Automate. The front end is a Microsoft form that captures the info to create an Azure AD account. I have a mobile number field that sometimes needs to not be filled as some users don't have mobile number (for work) however the flow fails with error "Invalid value specified for property 'mobilePhone' of resource 'User'". How do I fix this? 

2 REPLIES 2
eric-cheng
Solution Sage
Solution Sage

Hi @Lastsight2000 ,

 

Is MFA or SSPR (self service password reset) enforced in your tenant?  I read it causes mobile to be required.

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

Lastsight2000
New Member

No MFA nor SSPR enabled. It works if I don't populate the Mobile number field with the dynamic content from the form In the Create user action. I'm avoiding the need to create another condition ((if mobile number is provided or not) with 2 create user actions; one with mobile number dynamic content filled in and the other empty. 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,730)