Questions tagged [microsoft-graph-groups]

22 questions
3
votes
1 answer

Append a Stringsegment to a MS Graph Request with GraphServiceClient

Is it possible to append a segment to a MS Graph GraphServiceClient Request and fetch that resource? The scenario: I want to get the root site of a group (more specifically its weburl…
Kirschi
  • 1,088
  • 3
  • 12
  • 32
2
votes
1 answer

Group proxyAddress - Cannot Update from Graph API - Get Permissions Issue

It is unlikely that the account that I'm using to call Graph API doesn't have adequate permissions, but whenever I modify proxyAddress property of a Office 365 Group, I receive the following error, { "error": { "code":…
2
votes
1 answer

Microsoft Graph API equivalent of Set-UnifiedGroup HiddenFromExchangeClientsEnabled

I would like to show Teams created with Microsoft Graph API in Outlook. Therefore, I need the Microsoft Graph API equivalence of calling the following PowerShell command: set-UnifiedGroup -identity "id_of_the_group"…
1
vote
1 answer

Is there an alternative way for Set-UnifiedGroup -UnifiedGroupWelcomeMessageEnabled?

A couple of years ago, we made a provisioning script which creates a unified group with PnPPowerShell. While there was no other way to disable the welcome message for new group members, we had to connect with Exchange and disable the welcome message…
1
vote
1 answer

Is there feature of retrieve group member history (when created or deleted) in microsoft graph api?

As the title says, I'm curious. I know that graph api has a function to look up group members, but it seems impossible to track the addition or deletion of members between those requests. Plus, the exact dateTime that was added or deleted as…
Seungho
  • 71
  • 4
1
vote
0 answers

Retrieving the threads and posts giving 403 error in ms graph

In our application there is a requirement to retrieve and display the replies on a threads. When ever we try to retrieve the thread and replies for guest user it gives 403 error for members can retrieve the same without any error. Guest can post a…
1
vote
1 answer

Unable to create Microsoft Team from a Group with Graph-Api: Cannot migrate this group

I am trying to create a Team with the Microsoft Graph-Api. I already have an existing Group and i want to add a Team. My Code Looks like this: var api = graphClients.GetClientForTenantId(tId); groupToAdd.MailEnabled = false; …
1
vote
0 answers

Delay before update a Group Profile Picture?

I'm using the Microsoft Graph SDK for creating Group / Team and set up a Profile Picture. I realize that I can't set up the Group Photo right after its creation : I have to wait a couple of minutes / hours to update it (and it works of course).…
0
votes
0 answers

Microsoft Graph group refresh time

I am using the Microsoft Graph API in my ASP.NET MVC application. The issue occurs when removing the user from the group and again adding the same user to the same group. I am getting an exception that a user already exists in the group. If I try…
0
votes
1 answer

How to get MS365 Group email/message headers in Graph API or otherwise

My main goal is to get the alias of an MS365 Group that an email was sent to, since in the toRecipients address, it resolves to the primary SMTP address. I have determined that the possible route I have to go to get this is through the email…
0
votes
0 answers

Unable to Add Team to Group After Creation, "Failed to execute GetGroupMembersMezzoCountAsync."

I can't seem to find anything on this specific error. I first create a group that only has an owner, then add a team to the group, which fails. This was executing successfully the other day, so I'm not sure what's going on. Failed to execute…
0
votes
0 answers

No reduction in cost after using graph delta query on group

I have a tool that reads membership of groups in AAD every 6 hours. I used the graph api groups/{id}/transitiveMembers to read the entire membership and found out the resource unit cost (x-ms-resource-unit) was higher. I updated the code to use…
0
votes
1 answer

Find Azure AD groups that have a sensitivity label applied

We have a requirement to check any group that has used a particular sensitivity label. I've looked at the Advanced query capabilities on Azure AD directory objects to try to build a filter clause, but I haven't had any luck. Is this possible? There…
Ivan Wilson
  • 403
  • 3
  • 12
0
votes
1 answer

Groups Planner Plan 404's when adding a Filter

I'm trying to pull back a specific plan through Graph API C#. I am aware that Application permissions isn't supported and I believe I am using a Delegated work flow. This is the query I am using: var template = await…
0
votes
1 answer

MS Graph API Group which contains a Plan

Basically I want to know which group contains the plan I am using. I know how to get which plans are in a group: GET https://graph.microsoft.com/v1.0/groups/{group-id}/planner/plans But not, given a plan, how to know which group contains it. Why do…
1
2