Microsoft Graph API creates empty deleted messages after removing contact - microsoft-graph-api

I have a powershell script to synchronise contacts with contacts database in my company. The script works everyday in the night and there is a problem when contact is deleted. After removing a contact through Microsoft Graph Api there are two new draft e-mails in deleted items folder. First one looks like an e-mail but it has empty subject, sender etc, the second one is a deleted contact which I could restore. I'm not happy with my deleted items folder full of empty mails so I wonder how to prevent this. When I search for deleted messages those messages aren't shown so I can't delete them through api. Any idea?
Update:
I've tried beta version it didn't help.
I found out that there is the same problem when I delete contact in my mobile and outlook is not running - I can see draft empty mails in deleted emails folder.
When I search for deleted messages I can see its proper amount (i.e. I've got 150 empty draft mails) and I can see that there are 150 messages but when I try to see those messages there is none.

Related

Inconsistent change notifications for MS Graph API

We are trying to utilise the Microsoft Graph API change notifications to keep track of emails in a users mailbox, however the change notifications that we receive are inconsistent to say the least. For example, I just deleted 7 emails from a users mailbox. We would expect the end result to be that the email is removed from the Inbox and added to the Deleted Items folder, but this only happens sometimes and by seemingly different methods!
Below is the notifications that we received for each email that was deleted (we are using immutable IDs to try make it more simple);
I guess this is an issue with the Microsoft service and not something that we are doing wrong? We have also tried with immutable IDs turned off but were getting equally inconsistent notifications.

Is there an event payload when adding ms teams app to org?

If I upload a custom app that has a messaging bot to an MS Teams org (through admin center), is there an event payload that gets sent to the bot messaging payload that lets me know that the app/bot is added to that MS Teams tenant?
Something similar to installationUpdate event: https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/subscribe-to-conversation-events?tabs=dotnet#installation-update-event but for adding app to org (this payload event is sent for when users add app to their own MS Teams space)
No, there is no event for this.
Having it installed in a tenant doesn’t do anything except making it available for users to install. And without a user installing it, you cannot interact with the bot.
There are only two ways the app could be added to the org: either (a) by them adding the package manually, in which case presumably you gave it to them, so you should know about it, or (b) by your app being in the public App Store. In this 2nd case, you'll know it's been installed into the tenant by using the same installationUpdate event you mentioned - you can store an entry somewhere on your infrastructure (e.g. a database or otherwise) that tracks which tenants have installed the bot ever before in any channel, and if nothing is found for the incoming tenant id, it must be new.

Fetching MUC Message History using MucSub in IOS

Every time when I’m signing into the app or reinstalling app I didn’t receive group message history. I have searched a lot for message archiving in MUC for iOS. Ejabberd doesn’t provide me old messages of the group although I configured setting into the YML file as mentioned in the attached image. I have kept history size of 10. It means at least 10 messages must be fetched every time when I login into the app or reinstall the app but I could not receive 10 messages every-time after reinstalling the app. I’m using Robbiehanson/XMPPFramework for iOS to implement XMPP based chat. I also performed MucSub based MUC to send/receive messages.
The scenario which I have performed:
I’m part of one MUC group. The member of the associated group sent 15 Messages into the group. I have received all those messages when I’m online. Now I am logged out from the group. Deleted the app from the device and reinstalled it into the device with the same login credentials. At this time I could not see the 15 messages which I received earlier. Here I would like to get all 15 Messages even after reinstalling the app into the iOS device.
I have searched on various Stack overflow questions but none of them are helpful to me. Your help will be appreciated.
Maybe you can try joining the room by specifying the history element with the maxstanzas specified.
We have similar case like we need last 3 months history while joining the room, So we mentioned that in history tag, Like below code sample
let historyElement = DDXMLElement(name: "history")
historyElement.addAttribute(withName: "since", stringValue: ((lastDate as NSDate).addingTimeInterval(1).xmppDateTimeString())!)
room.join(usingNickname: userJidString, history: historyElement)

Team Foundation Server 2018 User is missing contact information of Exchange

We are trying to setup a TFS 2018 Update3.2 as ticketing system based on CMMI. I tried several things and begin to understand how everything works, except one very important thing.
We want to use the notifications and the emails are send correctly to 2 of 4 users. 1 user has no email, so that's ok, but me (my own account), don't gets any emails. I tried to set my email address by hand in the field: My Profile -> Preferred email. But that doesn't work either.
When I open a group with all users and click on them, I get to see the initials of my name and my full name. When I click on one of the working accounts, there are also contact informations (an email address and the possibility to start a sip chat.
So I looked into our Exchange (seems to make sense), but I don't have found any differences between my settings and those of the working accounts. I am also searching here now for more than an hour, so I don't think that the service still has to update.
Anyone an idea where I could look? How do I get my email address from the AD to the TFS? Or maybe how can I force a synchronization? Or delete all cache items and reload everything by it?
EDIT:
I killed the cache directory (the GUID-directory inside) and then everything got relaoded and now I get emails too.
If you clear the cache, the problem is solved.

Are "Share" messages logged in JIRA, and can I search them?

Last week, I sent a message via JIRA's "Share" link on one issue to a requester with nearly 100 issues. I haven't received a response and want to follow up, but I don't remember which issue it was. Are "Share" messages logged in JIRA, and is it possible for me to search them? It would be nice to not have to go back through each individual list and search for it.
If you shared the JIRA by click the Share icon on top right, then it's only sending an email, you have no way to trace back which issue you shared from JIRA.
If you shared the issue by mentioning user's name in comment or description, you can check your activities stream for issues you have edited.

Resources