GithubHelp home page GithubHelp logo

Comments (7)

malauter avatar malauter commented on June 14, 2024

We need the display name for the creation of a new team. During the creation process, the display name is mandatory, we cannot use the group id here.

from microsoft365dsc.

pkernevez avatar pkernevez commented on June 14, 2024

Why is it mandatory for all the calls (meaning for the get too) ?
How can we export those resources ?

from microsoft365dsc.

pkernevez avatar pkernevez commented on June 14, 2024

Is it possible to:

  1. remove the mandatory aspect only for the set ?
    or
  2. Remove it for all of them and check if it is non null in the Set-TargetResource code ?

from microsoft365dsc.

malauter avatar malauter commented on June 14, 2024

We have to make sure that a exported config can be imported into a tenant again. During the import we a need a display name. What should we set as display name if this attribute is null in the export?
How did you create the Teams without a display name? Even for the native New-Team cmdlet the display name is required (https://learn.microsoft.com/en-us/powershell/module/teams/new-team?view=teams-ps).

from microsoft365dsc.

pkernevez avatar pkernevez commented on June 14, 2024

I have to do more investigation because when calling Get-Team API directly, all resources have a DisplayName.
It may be related to encoding as several of our resources have Asian chars.

from microsoft365dsc.

malauter avatar malauter commented on June 14, 2024

If you run Get-Team manually it is returning the display name but it is not in M365 DSC? Can you share one of the affected display names, so I can try to reproduce?

from microsoft365dsc.

pkernevez avatar pkernevez commented on June 14, 2024

If you run Get-Team manually it is returning the display name but it is not in M365 DSC?

Yes

Can you share one of the affected display names, so I can try to reproduce?

I'm not able to reproduce it today, so I'm going to close this issue.

I'll reopen it later if I'm able to have it again with data to reproduce it

Regards

from microsoft365dsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.