Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I write tool for migration Teams to Teams in same Tenant or New Tennant on Golang. #592

Closed
dogonovm opened this issue Oct 7, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@dogonovm
Copy link

dogonovm commented Oct 7, 2023

I write tool for migration Teams to Teams in same Tenant or New Tennant on Golang.

But no example how to create private Channel in migration mode.

Here my log:

Create Teams with migration mode without owner as visibility private:
Endpoint url: "https://graph.microsoft.com/v1.0/teams"

{
"@microsoft.graph.teamCreationMode":"migration",
"createdDateTime":"2015-03-14T11:22:17.043Z",
"description":"Some describtion",
"discoverySettings":{
"showInTeamsSearchAndSuggestions":true
},
"displayName":"MigrationTestSvetek-07",
"funSettings":{
"allowCustomMemes":true,
"allowGiphy":true,
"allowStickersAndMemes":true,
"giphyContentRating":"Moderate"
},
"guestSettings":{
"allowCreateUpdateChannels":false,
"allowDeleteChannels":false
},
"memberSettings":{
"allowAddRemoveApps":true,
"allowCreateUpdateChannels":true,
"allowCreateUpdateRemoveConnectors":true,
"allowCreateUpdateRemoveTabs":true,
"allowDeleteChannels":true
},
"messagingSettings":{
"allowChannelMentions":true,
"allowOwnerDeleteMessages":true,
"allowTeamMentions":true,
"allowUserDeleteMessages":true,
"allowUserEditMessages":true
},
"visibility":"Private"
}
Responce Team Create:

&{202 b1fb2f29-10ed-49f7-948b-57b50a357a40 b1fb2f29-10ed-49f7-948b-57b50a357a40 /teams('8db461d8-8b86-4b6e-8122-5ef47acba421') /
teams('8db461d8-8b86-4b6e-8122-5ef47acba421')/operations('00000000-0000-0000-0000-000000000000')}

Create Channel with migration mode as membershipType private
Endpoint url: https://graph.microsoft.com/v1.0/teams/19:[email protected]/channels

{
"@microsoft.graph.channelCreationMode":"migration",
"createdDateTime":"2023-10-06T06:25:14.203Z",
"description":"",
"displayName":"SharedTest",
"members":[
{
"@odata.type":"#microsoft.graph.aadUserConversationMember",
"roles":[
"owner"
],
"[email protected]":"https://graph.microsoft.com/v1.0/users('5a0c4a45-007f-4d84-b620-4719d91006f1')"
}
],
"membershipType":"private"
}

Responce Channel Create: Response code: 201 CannelID: 19:[email protected]

But channel is created as Standart.

How I can make migration Private to Private Channels?

Thank you!

@calebkiage calebkiage transferred this issue from microsoftgraph/msgraph-cli Oct 9, 2023
@rkodev rkodev self-assigned this Feb 7, 2024
@rkodev
Copy link
Contributor

rkodev commented May 27, 2024

Hi @dogonovm , this issues looks to have re-occured on #715. I will be closing it and you can follow the investigation on #715

@rkodev rkodev closed this as completed May 27, 2024
@rkodev rkodev added the duplicate This issue or pull request already exists label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants