web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / What is MailNickname f...
Power Automate
Unanswered

What is MailNickname for? And what value should I give it?

(0) ShareShare
ReportReport
Posted on by 359

I'm trying to clone a Team using Flow. I'm using an HTTP request for this. I'd already had it working before for creating a Team but I'm trying to clone one now and I'm having an error regarding MailNickname being null or blank. My main question is what is it for and what value should I give it?

 

cloningTeam.png

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,143 on at

    Hi @Mgodby 

     

    The MailNickName parameter specifies the alias for the associated Office 365 Group. This value will be used for the mail enabled object and will be used as PrimarySmtpAddress for this Office 365 Group. The value of the MailNickName parameter has to be unique across your tenant.

     

    https://docs.microsoft.com/en-us/powershell/module/teams/new-team?view=teams-ps

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Mgodby Profile Picture
    359 on at

    Thank you for the reply RezaDorrani. I am just wondering what the format of the MailNickname is. Is it an email address with the tenant as the domain? Because in the link you provided they only used "TestTeam" for the MailNickname. Is it just like a unique name? So could I just put in "PracticeTeam1"? Would that work? Is it also recommended that I ad some form of Id to make sure that it stays unique?

  • Verified answer
    RezaDorrani Profile Picture
    12,143 on at

    @Mgodby 

     

    Yes your unqiue group/team name 

     

    By the ways, none of my business but you are using a beta action for creating team template

    Please note that it is not recommended to use it in Production scenarios until it goes into GA

    Which I am sure would be during the Ignite timeframe

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Mgodby Profile Picture
    359 on at

    Thank you so much for the help. Should I use "v1.0" instead of beta? Thank for letting me know, this is a Flow that I took over from someone else so I just went along with it. 

  • RezaDorrani Profile Picture
    12,143 on at

    @Mgodby 

     

    Yes absolutely and it seems it is in GA (v 1.0)

    https://docs.microsoft.com/en-us/graph/api/team-clone?view=graph-rest-1.0

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard