Are folder Id's unique in outlook web app folders? - outlook-web-app

I am using the outlook web app and have many folders in inbox, when I connect using the outlook api, I see that some folders have duplicate Id's.
As far as I know the folder Id should be unique for every folder, is that correct? There is no way of duplicating a folder in the web app, so what could be the reason behind duplicate folder Id's.

Folders cannot have duplicate IDs. Can you show the REST response that contains duplicate IDs?

Related

How to find the list of all emails shared with on Nextcloud

My company has been using Nextcloud to host invoices for our customers to view. We have created a folder tree and shared individual folders directly to a customers email via this method:
This works well but we would like to find a list of all the email addresses that we have shared folders with. It is important to note that none have these have been set up as official users, just given access via the share. Where in the Nextcloud server data tree would I be able to find this? I have searched through the /var/www/nextcloud/data directory but could not find them.
That would be stored in the database, table oc_share, column share_with. Mail shares have the column share_type set to 4.

How to query conversations by folder via Graph Api?

My organisation recently started using folders on their Facebook page. The conversations then can be categorized as Inbox, Unread, Follow Up, Done and Spam.
I regularly download the messages via Graph API and everything worked fine when they kept all the conversations in the Inbox. However recently they categorized the conversations, so the inbox has only 7 elements at the moment, 0 elements in the Unread and Follow Up and countless elements in the Done and Spam folders.
I used the following query before:
me/conversations?fields=updated_time,messages.limit(100){message,from,created_time}&limit=100
Now it only returns the elements from the inbox.
The Graph API reference vaguely describes parameters like folder and tags. I tried to use the folder parameter like:
me/conversations?folder=done
me/conversations?folder=unread
me/conversations?folder=randomstring
It all the time returned the same 7 elements from the inbox.
However, if I query me/conversations?folder=spam it returns 10 different elements, which does not overlap with the actual "Spam" folder and contains elements marked as "Done". (They are quite fishy conversations, so they might have been marked as spam and there might be two different definitions of being spam as marked as spam or being in the spam folder, I don't know.)
The API reference does not specify how to actually use the folder and the tags parameter and does not say anything how to query messages in the other folders.
Any idea how to access the conversations in the other folders? It's fine for me to query the folders one-by-one or to query from all folders as well.
The documentation might need some updating. But for now, I can query messages in "DONE" via:
/{page-id}/conversations?tags=action:archived
After investigating this endpoint, I think ?folders is some ancient param before the rework of the messaging from messages in folders to conversations to pages. If I query my page for the spam folder, I never get messages listed, even though I flagged some with spam. And while they are flagged with spam, I do not get those on the conversations query (without folder=spam).
I believe, facebook changed the system into tags on conversations. You can get those like so: [page_id]/conversations?fields=participants,messages{tags,message}&folder=sent.
Note: The marked "no sent tag" is not related to the folder applied (as they dont work). Maybe the tagging on conversations is the reason you get the same result from querying threads at [page_id]?fields=threads{participants,messages{tags,message}}
So for now I think, one has to get over everthing there to read the inbox. Yet I am a bit sad about not getting flagged spam messages from the graph. I will investigate this a bit further later^^
Call folder=page_done with Page Access Token to retrieve all threads/messages in Done folder of Page inbox.
{page-id}/conversations?folder=page_done
To get Page Access Token
{page-id}?fields=access_token

how to add the same folder permissions to another user in active directory

We are moving from one domain to another and it seems to take a lot of time to add permissions to special folders on shared folders to new users.
(We use AD-migrate to transfer the users.)
Is there any way to transfer all folder permissions from the user in the old domain to the new user in the new domain using powershell or anything else?

Export/Import cPanel "Account Level Filtering" rules

I am using the cPanel "Account Level Filtering" functionality to block incoming mail from spamming servers and email addresses. Throughout the years I have created an extensive list of rules to block specific spammers.
I would like to know if there is a way to export the "Account Level Filtering" rules and have a backup file of them.
I also wonder if it's possible to import the filtering rules to a cPanel account (through WHM or terminal) instead of adding them one by one manually through cPanel.
/etc/vfilters/domain.com contains all your account level filters. You can make a copy of that. If you do not have root access to the server, ask your hosting company to provide you with a copy of this file.
It is possible to backup and restore email forwarders configuration and email filters configuration using 'Backup Wizard' tool available in main cPanel menu.
I had the same problem and wanted to share some fairly extensive Global Email Filters to various websites instead of replicating all the filter rules manually, which would take days. Using the Backup wizard did not work for this: when I imported the email filter files into another website it generated a user incompatibility error.
Instead, I logged into cpanel on the original website:
I opened file manager.
Then I opened the folder: .cpanel
(If you can't see this folder, click on settings then check the box next to 'Show Hidden Files (dotfiles)' and click Save).
Then I downloaded these two files:
filter.cache
filter.yaml
then uploaded those two files to the same location in the cpanel of the new websites.
Note: I had not created ANY spam filters in the new (recipient) websites so the new files were a clean upload, not an over-write of previous files. If you have already created spam filters in the recipient site, then uploading the files saved from the donor site will overwrite them.

Alfresco Share - Can't find people as site manager after bulk upload

I create a lot of users (~350) using User CSV Uploader (/alfresco/service/api/people/upload) and then as site maneger i tried to invite some of this users, but i can't find them.
Steps:
create a list of users (using CSV template) - OK
upload the list - OK
check if the users exist - OK
as site manger and alfresco_administrator when i go to http//mydomain/share/page/site/mysite/invite and search for user (let's say TESTUSER) the user is listed and is allowed to be invited
as site manager (not alfresco_administrator) when i go to http//mydomain/share/page/site/mysite/invite and search for user TESTUSER the user is not listed
The user TESTUSER exist and was created using CSV upload.
I creat manualy another user TESTUSER2 and i follow steps 3,4 and 5. In this case this user TESTUSER2 is listed in both case.
My question is: There is a possibility to "reindex" all user or i need to create ~300 users manualy.
Right now LDAP or AD is not an option.
Alfresco 4.2c/Centos 6.4/SOLR (full reindex after 2 days)
Thank You!
Geo
are you able to find the persons via people finder /share/page/people-finder?
If not, are you able to find the persons when appending [hint:useCQ] (forces usage of DB instead of SearchIndex) to your people search term?
If you find the persons using this hint, then your Solr Index is not in sync.