This project provides a set of methods to interact with the Microsoft Graph API for Azure AD and Microsoft Power Platform Dataverse. It is designed as a starting point for developers who want to integrate Azure AD and Dataverse functionality into their applications.
This project is a template and should not be used as is. It is intended as a stub of methods that need to be called outside of the timer trigger or might depend on other external configurations.
Before using the functions, make sure to configure the necessary settings in the local.settings.json
file. This includes Microsoft Graph API credentials and other required configurations.
- .NET Core SDK
- Azure Functions Core Tools
- Azure Storage Account (for logging)
Update the local.settings.json
file with your Microsoft Graph API credentials and Azure Storage Account connection string.
- The provided methods are placeholders and require customization to fit your application's logic and requirements.
- Ensure to replace the placeholder configurations and connection strings with your actual values.
- Do not use this project without understanding and adapting it to your specific needs.
Use the Package Manager Console or the command line to install the required dependencies.
dotnet restore
Creates a new user in Azure AD.
Lists all users in Azure AD.
Finds a user in a specified group.
Lists all groups in Azure AD.
Lists groups with a specific filter applied.
Creates a new computer object in Azure AD.
Adds a computer to a specified group.
Finds a computer in groups other than the specified group.
Deletes a computer from all groups it belongs to.
Processes user names retrieved from a Dataverse table.
Processes computer names retrieved from a Dataverse table.
Retrieves user and computer names from a SharePoint list created on the current date.
Uploads a log file to Azure Blob Storage asynchronously.
Processes user names retrieved from a SharePoint list.
Processes computer names retrieved from a SharePoint list.
These functions can be triggered manually or scheduled using Azure Functions Timer Trigger. Make sure to handle the necessary dependencies and configurations for each function.
This project is a stub and requires modifications based on your specific requirements. Ensure that dependencies are up-to-date and compatible with the Microsoft Graph SDK version used. ##License This project is licensed under the MIT License - see the LICENSE.md file for details.