Why wouldn’t you want to save time on a process that can (and to be honest should) be automated in all companies that uses Dynamics? We have now created two different flow, where the first one creates a Azure AD user atomatically when you hire a new employee in Dynamics HR, and mark that the employee should have a user in AAD (Goes without saying, but for you that now wants to ask the question, yes, the flow assigns the created user to a group as well):
But why should we stop there? How many times haven’t new employees showed up at their first day of work, just to se that someone has forgotten to import you AAD user to the system, so you can’t log in? Don’t worry, this flow runs every night, finds the employees that have their first day of work the coming day, and gives the AAD user the right to log in to Dynamics 365 HR:
Since the tenant for our Demo environment is located in USA, we do get accsess to some functionality that is not yet available here at this side of the ocean. Therefore, for us how embrace the LowCode/NoCode functionality, we just love the way you can write what you want to do directly in the PowerApp with AI-powered assistance, and the suggestion for the code that should be used pops up right under it!
We have creagted a flow that once a day lists that tasks that are assigned to different employees in the company in the Task Management module in Dynamics 365 Human resources. We filter out the tasks that are completed and canceled, and we only look for tasks that are due in 10 or 3 days, or that is due today or is overdue. By using Vitual Tables in Dataverse to gather this data, we’ll have the flow looking up the data we need in other tables than the table for tasks, as we of course want the email to be sent to the assigned employee, with the information the employee needs to perform the task:
It finally works like a charm, as we now in Dynamics 365 Human Resources have 1 overdue task, and no tasks falling due in 10 or 3 days or today, and the flow sends 1 email with the correct information:
Bebop was tired. He and Rocksteady had been working their ass off for Shredder in several years without getting employed, without a good portal where they could get the info they needed and without any form of rights. They both felt like “second-class employees”. Enough is enough! Now they planned to have a chat with Krang and make him convince Shredder.
“We are sick of this!” Rocksteady shouts when they open the office door. A little rough, but we are talking about simple souls. Krang didn’t really understand where this came from, as no one really dared to walk in on him like that. We have been working our asses of for you and shredder for many years, but now we want a contract, employment and all other rights that we are entitled to in the workerenvironmentlaw(Freely from Norwegian).
“HAHAHA!” Krangs evil laughter went through the room. “I’m not sure if you are aware of it. But Shredder doesn’t like to put in data. Period!” The system needs to be self service-only and fully automated to the point where no one on the administration in our thriving business needs to do anything”. Excel sheets is sooo 1990s.
“You mean there is no way for us to get a proper employment?” Bebop cried.
“Well, if you can come up with a good, digital solution, with features that can avoid me seeing you as much as I do today, in a system that doesn’t cost us a month worth of stealing, ill have Shredder approve it. Also – the real carrot(Freely from Norwegian) Would be if you could get the system to collect some information that made me able to track your progress in takedowns and stealing. It would actually make me able to give you some goals and maybe a bonus once in a while”. Krang told them
Bebop cried even more. But then Rocksteady said: “Hey, what about this low code stuff from Microsoft. Do you think we could try to team up with someone able to create this digital shit for us? With teaming up I mean threatening their mums or something like that of couse”. “A great idea” Bebop said.
Bebop called the Microsoft sales team in Norway and asked if they knew of anyone able to create something like this. The MS guy didn’t think much about it and provided him with the contact information to the guys in a company called “Powershredders of Axdata”. Suddenly 5 (3 due to covid) was locked up in a detention center outside oslo for a looong weekend frightened for their lives and their families.
This is what we will create for Shredder: – Automated creation of user in Azure AD when a new employee is hired in Dynamics 365 HR, and import the user to the HR module prior to his first day at work. – Automatically send a SMS with userid and password for the AD user to the new employe – Create an Onboarding Portal the new employee will get automaticly acces to, where he will find information about the company and his teammates prior to his first day at work – Create a Power Automate that will send notifications to other employees regarding tasks assigned to them in the onboarding process – Create an area in the Portal where the new employee fills out information about him self, that will automatically be imported to D365 HR.