new(tenant, app, ...): Initialize a new Microsoft Graph connection with the given credentials. See 'Authentication` for more details.
create_app(name, ..., password=NULL, password_duration=1, create_service_principal=TRUE): Creates a new registered app in Azure Active Directory. By default the app will have a randomly generated strong password with a duration of 1 year, and an associated service principal will also be created. To skip assigning a password, set password=FALSE.
get_app(app_id, object_id): Retrieves an existing registered app, via either its app ID or object ID.
delete_app(app_id, object_id, confirm=TRUE): Deletes an existing registered app. Any associated service principal will also be deleted.
create_service_principal(app_id, ...): Creates a service principal for a registered app.
get_service_principal(): Retrieves an existing service principal.
delete_service_principal(): Deletes an existing service principal.
create_user(name, email, enabled=TRUE, ..., password=NULL, force_password_change=TRUE): Creates a new user account. By default this will be a work account (not social or local) in the current tenant, and will have a randomly generated password that must be changed at next login.
get_user(user_id): Retrieves an existing user account.
delete_user(user_id, confirm=TRUE): Deletes a user account.
create_group(name, email, ...): Creates a new group. Note that only security groups can be created via the Microsoft Graph API.
get_group(group_id): Retrieves an existing group.
delete_group(group_id, confirm=TRUE): Deletes a group.
call_graph_endpoint(op="", ...): Calls the Microsoft Graph API using this object's token and tenant as authentication arguments. See call_graph_endpoint.