Hello guys, hope you are doin well :)
I have a need and would like to confirm whether my understanding is correct for the following question:
I have a robust chatbot application that allows you to make API calls, capture the returns, and generally integrate with other tools. I also use Azure AD, and I would like to make some Azure functions available within my chatbot, for example:
I would like to allow an admin user to change a department from other users.
And for a common user, he could change his own AD password through the bot, for example.
Obviously I can collect all the necessary data for customer authentication through the bot and pass this as a parameter for Azure AD to make the changes.
My question is: all that I need to do is run a simple request like this one quoted here?
And to update the user details like the department, do you guys have any recomended endpoint?
Are user permissions reflected in what they can do in AD through API calls? For example: if it is an administrator user, it will have access to perform administrator functions, and a user will only have access to the user things... Will this be self-applicable to API requests or does it need to be handled in code?
Thank you guys!