Iam building a flow to create Azure AD Users based on a Sharepoint list.
Iam building UPN based on: firstname.lastname@domain.com
It works fine, but.. two questions.
1st. Since iam from sweden we like to add ÅÄÖ to our names, is there any good way to replace these letters with A and O instead? For UPN only?
2nd. If the UPN is allready taken, is there anyway to enumurate and add for example 1,2,3 etc to UPN?
Solved! Go to Solution.
Hi @t_vuorenmaa,
You could replce the "ö" in the First Name to "o" refer to screenshot below:
The expression in the Compose as below:
replace(triggerBody()?['First_x0020_Name'],'ö','o')
The expression in the Create User action as below:
concat(outputs('Compose'),'.',triggerBody()?['Last_x0020_Name'],'@domain.com')
And you could refer to my solutions to replce the "Ö" in the First Name to "O",replace the "Å" to "A", replace the "Ä" to "A" and so on.
Best regards,
Alice
Hi @t_vuorenmaa,
I couldn't understand your requirement from your description, could you please explain more details about your requirement such as:
1. The screenshot of the configuration of your flow.
2. The run details of your flow, and what would be the UPN be created in your flow looks.
3. How you want the UPN to be created looks.
Best regards,
Alice
Hi @v-yuazh-msft,
Thank you for your reply.
See attateched picture
Lets say i have a user called
Firstname: Björn
Lastname:Andersson
For Mailnick and UPN i would like to replace Ö for O, since Ö wont be accepted in UPN or Mailnick.
Hi @t_vuorenmaa,
You could replce the "ö" in the First Name to "o" refer to screenshot below:
The expression in the Compose as below:
replace(triggerBody()?['First_x0020_Name'],'ö','o')
The expression in the Create User action as below:
concat(outputs('Compose'),'.',triggerBody()?['Last_x0020_Name'],'@domain.com')
And you could refer to my solutions to replce the "Ö" in the First Name to "O",replace the "Å" to "A", replace the "Ä" to "A" and so on.
Best regards,
Alice
I was wondering if it's possible use one code string to adjust all possible ÅÄÖ?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
48 | |
17 | |
15 | |
12 | |
11 |
User | Count |
---|---|
58 | |
39 | |
23 | |
19 | |
18 |