with Microsoft Entra ID and Formatting?
Adds a member to a group Microsoft Entra ID. See the documentation
Removes a member from a group Microsoft Entra ID. See the documentation
Searches for groups by name or description. See the documentation
The Microsoft Entra ID API offers a modern identity and access management solution, enabling developers to automate and integrate a broad range of user and identity-related operations. With Pipedream, you can harness this API to create workflows that manage user identities, automate provisioning and deprovisioning, secure access to applications, and more. Pipedream's serverless platform simplifies the process of connecting the Microsoft Entra ID API with hundreds of other apps to build powerful automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_entra_id: {
type: "app",
app: "microsoft_entra_id",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_entra_id.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})