Skip to content

Add parameter to avoid random number in groups email address #13

@pretzer

Description

@pretzer

The function New-AADUnifiedGroup contains this code to add a random number to the mail address of the group:

$randomNum = (Get-Random -Maximum 1000).tostring()
$mailNickname = $GroupName.Replace(" ", "") + $randomNum

This should be optional by introducing a parameter to turn the behavior off.
Thank you for consideration!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions