I would like to know if there is a possibility of getting an email with a particular changeKey. I tried to do apply filtering on the changeKey but it did not work.
As clearly mentioned in the response ChangeKey does not support filtering with the current version of Microsoft Graph-Api. You need to find another approach here.
Related
I have a script that queries Microsoft Graph for the mail rules of each user. Each mail rule comes back with an ID which I then store for tracking purposes. However these rule IDs periodically change. I haven't been able to determine what causes this. Is there a predictable way to identify mail rules?
Sadly, you aren't the only one to have this problem. This post has been open for over a year on MS's Q&A Board: messageRule ID not constant?
This answer may provide some insight as to why this is happening: Message-Id header changing when sending via ActiveSync - Answer
Unfortunately, it seems like this is a shortcoming of Outlook (and other MS systems for that matter). Perhaps getting more traction to this issue can finally get MS to shed more light on this...
I have created a Jira search filter, using this request:
POST /rest/api/2/filter
This worked pretty well. Now after I created the filter, I want to get automatically subscribed to it.
Is there a way to do it with the REST API? Or is the only possible way to do this manually?
I already found this in the documentation: https://docs.atlassian.com/software/jira/docs/api/REST/7.4.1/#api/2/filter-createFilter
There, I found the "subscriptions" property, but I can't seem to figure out how exactly I have to write this, to get the correct syntax.
Thanks.
There is a JIRA Feature Request that is still being considered for this to be implemented. Please take a look at this for more details.
For now, all we can do is Fetch or Create Filters using the JIRA ReST APIs but editing the subscriptions should be manual tasks.
Please take a look at the following Atlassian Question which confirms the same.
Details as provided in this Question:
You can do a GET to see the filter subscriptions values you have via:
GET /rest/api/2/filter/favourite?expand=subscriptions
Hope this helps!
My use case is to get all mailboxes which are not being used actively. So that we can take appropriate action like removing O365 license and free up licenses.
For this, I am using the graph API getMailboxUsageDetail
I am trying to filter out based on lastActivityDate property but not getting expected result. I have 2 questions on this.
Is this the correct way to find all not actively used mailboxes? If not, please let me know what is the correct way?
If yes, is this filter property supported?
This question already has an answer here:
Where is facsimileTelephoneNumber for User in Microsoft Graph?
(1 answer)
Closed 5 years ago.
I'm using Microsoft Graph API to query for user data. I've succesfully obtained access token and simple queries such as https://graph.microsoft.com/beta/me work just fine.
The problem is that the query's response is missing attributes such as fax which is very important for me. Using the old https://graph.windows.net endpoint returns facsimileTelephoneNumber attribute (which is the same) but I cannot use this older endpoint.
I've tried following https://github.com/microsoftgraph/microsoft-graph-docs/issues/2151 answer (3rd message) but I can't get the extensions working and I don't even know if it would have any help to this problem.
So is it possible to access fax attribute using the newer Microsoft Graph API?
The GitHub answer you linked to was in regards to a personal contact, not users in the Active Directory. So to save you some frustration, that isn't the way forward :).
When you query for /me, you're getting the user's entry from Active Directory. This is a user resource in Graph. From the reference, the user resource has no property that exposes a fax number. Just to make sure the docs weren't incorrect, I checked the metadata exposed by the service (GET https://graph.microsoft.com/beta/$metadata), and there is no fax field on a user.
There's a request on UserVoice (https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/suggestions/18166054-microsoft-graph-api-user-fax-number) already to add this, you may want to go vote that up.
The Graph doesn't expose all of these fields.
try using https://developer.microsoft.com/en-us/graph/docs/concepts/query_parameters
I think in your case this will work
https://graph.microsoft.com/v1.0/me?$select=fax
If you want more properties of the user resource you can add them as comma separated values after the select query parameter.
I'm trying to get a list of issues assigned to the current logged in user using the JIRA REST API, but I can't find any documentation on how to do that.
What do I need to do in order to get the issues assigned to the current user?
You can specify the issues you want to receive by using jql.
In your case rest/api/2/search?jql=assignee=currentuser() should do the trick.
Here is the relevant part of the documentation of the REST api and here is the description of the used jql-function.