unable to assign a admin roles to admin unit
Hi guys, I`m trying to assign a Helpdesk Administrator to admin unite. Here is the code I used. $administrativeUnitId = "314fa520-1456-4205-bb5e-667f0b80646d" $adeleVanceId =…
Tenant does not have a SPO license.
Hi all, I am getting this error: Tenant does not have a SPO license. while using this API: https://graph.microsoft.com/v1.0/users?$select=ageGroup,city,birthday To get an access token with grant-type client credentials I am using this API:…
Assigning Owner to Application Registration and Enterprise Application using PowerShell?
How can I use Microsoft PowerShell script to assign an Application or Service principal in Azure to a single user? I have a list of the application names in a TXT file like below: App1 WebApplication1 CloudApps1 .... App-X However, when browsing the…
A3 BAD User is authenticated but not connected
Hi all, I am running multiple times the same code using the JavaMail library and Java. I am using the URL: "https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token" for generating tokens from both Client-Credentials and ROPC (Resource…
Unable to Retrieve Anything But "PresenceUnknown" Status for Teams in External Integration
I am currently developing an application that integrates with Outlook as an external collaborator. Specifically, I am implementing a feature that displays Teams' presence (status) within the app, attempting to correctly use the API to obtain these…
MS Graph API throws 502 Unkown Error from time to time
An http request that had worked yesterday stopped working for a few hours and threw either 502 or 503. Since then, the exact same requests started working again, but I'm afraid that this will happen in the future. My question would be: Is there any way…
UserErrorDiskBackupDiskTypeNotSupported
disks backup not able to configure Error Code UserErrorDiskBackupDiskTypeNotSupported Message Unsupported disk type Recommendations Please refer to the support matrix on unsupported scenarios and limitations -…
ADD the pin does not launch Windows Security window
Hi Azure team, I have an interesting issue happening as per below, can you help? On the same PC that has been joined to intune by one user e.g xyz@com365.xyz.com I log in as a local user .\xyz go to Work and School and ADD the Pin - which works; the…
How to invite a user to a calendar event using Graph API
I am trying to create a system where an administrator creates an event using said application and the following endpoint POST /users/{id | userPrincipalName}/events which works fine. The issue comes when users are to be invited to said event…
Use Teams Powershell module to generate a webhook url
New-TeamChannel -GroupId "1234" -DisplayName "My Group" -MembershipType Standard This works as a way to streamline and automate creating a channel within a team. What I want to know is, can I also configure webhooks directly from…
want to fetch the self(ME) conversation using client secret can anyone help me to get it ?
Hello, want to fetch the self(ME) conversation using client secret can anyone help me to get it ? I am trying to get the self conversation in teams using Microsoft Graph API using Application credential and not delegate method but I always get the…
Hello Team, I wanted to" list all pages" under my sharepoint site. I have used the below API, but I am getting error as "code": "20266", "message": The number of maximum sections is exceeded https://graph.microsoft.com/v1.0/sites/{Site-ID}/onenote/pages
Hello Team, I wanted to" List pages" of notebooks under my sharepoint site. I have used the below API, but I am getting error as "code": "20266", "message": The number of maximum sections is exceeded. But in…
Permissions API is not returning for Onedrive Sharing a file to user
Use case If we share a file to user1(edit) , and hit permissions API, will return user1 details if we share same file to user 2(edit), hit permissions API , will return user2 not user 1? Use case 2: If we use delta call for user Files, all files…
Unable to retrieve todo lists from deamon
Hello, I have tried a few times (and different approaches deamon/spa/web) but I just cant seem to retrieve my To Do lists at all. I have set up a Azure account and app and can get the users but when I try to get todo lists I am hit with errors. I have…
Microsoft GRAPH API not returning all messages in teams channel.
Hi, I'm using "/beta/teams/{group-id-for-teams}/channels/{channel-id}/messages" (also tried /v1.0/teams/...) to get all messages of the channel of my team. I'm aware of the @odata.nextLink field, but even after using it many times until it…
Can i add over 250 peoples in teams chat group?
Dear Microsoft Supporter, I have one question for microsoft teams chat members adding. I can't add the over 250 members in teams chat group. How should i do? Our organization has more 250 membres so we need to add more members. I send the Request message…
Is it possible to customize a ms teams bot conversation? The aim here is to add additional parameters to the ms teams conversation.
In the body of a request initiated by a user who started a conversation with a conversational bot, I can see various elements like conversationType, tenantId, and id within the conversation object. It looks like the following: conversation: { …
Hot to get alert for expiration of client secrets?
I think this is a topic i have already seen a few times, but due to some changes i hope its appropriate to ask again. In our Azure we have applications / app registrations which have a client secret which will expire. As far as i know, there is no…
Invitation API issue
Hi, I'm trying to send a meeting invite using "https://graph.microsoft.com/v1.0/invitations". and noticed I can only send the invite outside of my organization, if I try to send it to internal users it shows "This user cannot be invited…
Making the message ID immutable using Prefer: IdType="ImmutableId"
Hi, I'm working with Mail endpoints in the Graph API to send and move messages from one folder to another within the same mailbox. I have a requirement to make the message ID to be the same even after moving the message to another folder. I tried using…