Forum Discussion
Kaviya_JK
Jul 04, 2023Copper Contributor
Easier Onboarding of Microsoft 365 Users with Power Automate and Forms
Seeking for a method to automate user onboarding? With the Microsoft's powerful automation tool, onboarding users in an organization has become a lot easier and more efficient, helping to save time, ...
Jul 04, 2023
Some issues this method, just on the top of my mind from skimming through it:
1. You don't get any validation within the form, especially for emails
2. Same with UPN, an manager might know that there already exist a user with the same name and user name. This will cause an error in the flow
3. You are missing checks and balances, What happens if the flow fails? if an user already exist ? If it has invalid characters etc etc
1. You don't get any validation within the form, especially for emails
2. Same with UPN, an manager might know that there already exist a user with the same name and user name. This will cause an error in the flow
3. You are missing checks and balances, What happens if the flow fails? if an user already exist ? If it has invalid characters etc etc
- Kaviya_JKJul 05, 2023Copper ContributorThanks for your feedback, Nic.
We understand the importance of incorporating the requested error validation checks. These checks will be taken into consideration for future updates to further improve the workflow.
For you reference, here's how to implement the check for verifying if the user already exists in my existing flow.
After receiving the response details, we shall add 'Search for users' action and pass 'User's UPN' as input. Then, we include a condition to check if the output length of this action is 0. If true, it indicate that the user doesn't exist, since the action couldn't retrieve any output. If false, there already exists a user with the passed UPN, we'll send an email notification. This enhancement ensures a more comprehensive workflow.
Also, we're working on an improvised version of this workflow which includes the conditions you've specified. We'll keep you posted about the same. Thanks for addressing this anyways.