Hi @João Luiz Almeida ,
I am writing this reply on behalf of @Nagpal, Jasica .
We were making use of logic apps and this issue was seen since 23rd apr. Thanks to @Albert Delgado we have got it fixed now.
@João Luiz Almeida we had fixed this issue in logic apps, and based on what we were witnessing Microsoft seems to have put in a change which makes it mandatory for us to pass in the the mailboxId as a query parameter for shared mailboxes.
we are using different users/shared-mailboxes to authenticate another shared mailbox.
If you are using logic apps you could click on 'add additional parameters' and add 'mailboxAddress' as a parameter. you will have to pass in the targeted shared mailbox id as its value.
I'm not sure if I can attach screenshots of the solution showing the same, hence ill describe how you could edit this in the code view as well.
eg 1:(export email block)
"ExportEmailBody": {
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['office365']['connectionId']"
}
},
"method": "get",
"path": "/codeless/beta/me/messages/@{encodeURIComponent(ente-your-email-message-id-here}/$value",
"queries": {
"mailboxAddress": "fill-in-your-shsred-mailbox-address-here"
}
},
"runAfter": {}
}
eg 2: (move email block)
"Move_email_(V2)": {
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['office365']['connectionId']"
}
},
"method": "post",
"path": "/v2/Mail/Move/@{encodeURIComponent(ente-your-email-message-id-here)}",
"queries": {
"folderPath": "Id::enter-your-folder-path-here",
"mailboxAddress": "enter-your-shared-mailbox-id-here"
}
},
"metadata": {
"Id::enter-your-folder-path-here": "enter-your-folder-name-here"
},
"runAfter": {},
"type": "ApiConnection"
}
in the above examples change the below with relevant values:
enter-your-email-message-id-here
enter-your-shared-mailbox-id-here
enter-your-folder-path-here
enter-your-folder-name-here