/** * Microsoft Entra ID Node - Version 1 * Discriminator: resource=group, operation=create */ interface Credentials { microsoftEntraOAuth2Api: CredentialReference; } /** Create a group */ export type MicrosoftEntraV1GroupCreateParams = { resource: 'group'; operation: 'create'; /** * Group Type */ groupType?: 'Unified' | '' | Expression; /** * The name to display in the address book for the group */ displayName?: string | Expression | PlaceholderValue; /** * The mail alias for the group. Only enter the local-part without the domain. */ mailNickname?: string | Expression | PlaceholderValue; /** * Whether the group is mail-enabled * @displayOptions.show { groupType: ["Unified"] } * @default false */ mailEnabled?: boolean | Expression; /** * Membership Type */ membershipType?: '' | 'DynamicMembership' | Expression; /** * Whether the group is a security group * @displayOptions.show { groupType: ["Unified"] } * @default true */ securityEnabled?: boolean | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** Whether Microsoft Entra roles can be assigned to the group * @displayOptions.hide { /membershipType: ["DynamicMembership"] } * @default false */ isAssignableToRole?: boolean | Expression; /** Description for the group */ description?: string | Expression | PlaceholderValue; /** The <a href="https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership">dynamic membership rules</a> * @displayOptions.show { /membershipType: ["DynamicMembership"] } */ membershipRule?: string | Expression | PlaceholderValue; /** Indicates whether the dynamic membership processing is on or paused * @displayOptions.show { /membershipType: ["DynamicMembership"] } * @default On */ membershipRuleProcessingState?: 'On' | 'Paused' | Expression; /** A property set for the group that Office 365 services use to provision the corresponding data-at-rest resources (mailbox, OneDrive, groups sites, and so on) * @displayOptions.show { /groupType: ["Unified"] } */ preferredDataLocation?: string | Expression | PlaceholderValue; /** The unique identifier for the group, can only be updated if null, and is immutable once set */ uniqueName?: string | Expression | PlaceholderValue; /** Specifies the visibility of the group * @default Public */ visibility?: 'Private' | 'Public' | Expression; }; requestOptions?: { /** Batching * @default {"batch":{}} */ batching?: { /** Batching */ batch?: { /** Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1. * @default 50 */ batchSize?: number | Expression; /** Time (in milliseconds) between each batch of requests. 0 for disabled. * @default 1000 */ batchInterval?: number | Expression; }; }; /** Whether to accept the response even if SSL certificate validation is not possible * @default false */ allowUnauthorizedCerts?: boolean; /** HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128 */ proxy?: string | Expression | PlaceholderValue; /** Time in ms to wait for the server to send response headers (and start the response body) before aborting the request * @default 10000 */ timeout?: number | Expression; }; }; export type MicrosoftEntraV1GroupCreateNode = { type: 'n8n-nodes-base.microsoftEntra'; version: 1; credentials?: Credentials; config: NodeConfig; };