web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / create a user in azure...
Power Automate
Unanswered

create a user in azure ad looking for the smtp

(0) ShareShare
ReportReport
Posted on by 1

Hello, everyone, could you help me by giving me some guidelines to solve a problem that occurs with PowerApss and Power Automate, the requirement is to be able to create a user in Azure AD from a Power apps application, however the user cannot choose which is the SMTP From your email account this SMTP is created based on rules 1 letter of the first name 3 letters of the first last name and 1 letter of the second last name and if for some reason that user already exists, more letters of the second last name are added.

With this I have 2 problems

  1. The data for the name and surname come from a DB of users in one column the names and in another the 2 surnames. I have used the Mid () function to obtain the letters, but I stay in the surname I don't know how to identify the space so that from then on it takes it as a new series and be able to obtain the letter or letters of the second surname
  2. The user returned in item 1 I have to look for it in the accounts directory to validate that this SMTP does not exist. If there is, add the additional letters and this type of loop does not occur to me how to do it, since I have to iterate cycle creation of STMP until the user does not exist.

I do not know if I understood and if someone can give me any idea of ​​how to perform this process from Power Automate

 

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @Yeferson_Nova 

     

    I just stumbled on this request, but it's been a while that you submitted it. Were you able to fix it?
    If so, how did you do it so that the community can benefit from your findings?

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard