How to setup a host or VM to run on scheduled to execute a script so its going to update the user attributes in AAD/Entra ID?
Here is our use case: I want to run a MS Graph PowerShell script on scheduled hours once or twice a month which will update user attributes in AAD/Entra ID and I wanted to achieve this in Azure cloud so how I can setup this and what all things are needed for this to be happen.
Also I am going to provide a input file with script with the user details and that input file should be picked-up by script flow and then execute it based scheduled date & time on Entra ID with given credentials.
Also I wanted this host/VM should be turned off after the script execution on scheduled date & time so we don't keep spending on it as well, as it would be only used for those specific tasks across our IT infra.