ahmed4566
(Syed S Ahmed)
December 1, 2023, 7:58am
1
HI Guys , Needs to filter email from last 7 days till today as I am using Office 365 and I have tried with many option and getting the error code: badrequest, Please help me out on this ?
With get outlook msg its working fine with the receivedDate and @SQL , but its not working on office 365 and getting the error and code: badrequest
Thanks
ppr
(Peter Preuss)
December 1, 2023, 10:22am
3
we would assume an OData filter like
receivedDateTime ge 2023-11-24T00:00:00Z
lets focus later on the UTC baselining
ahmed4566
(Syed S Ahmed)
December 2, 2023, 12:29pm
5
Tried it …its not working
Venkat4
(Srikanth BV)
December 2, 2023, 2:05pm
6
Hi @ahmed4566
Please try using the below filter.
“[ReceivedTime] >='”+DateTime.Today.AddDays(-7).ToString(“MM/dd/yyyy”)+“'”
Cheers
ahmed4566
(Syed S Ahmed)
December 2, 2023, 2:09pm
7
Hi, will it work on office 365 query filter?
ppr
(Peter Preuss)
December 2, 2023, 4:11pm
8
ahmed4566:
Tried it
we assumed that you also referred to the linked Tutorial
ahmed4566:
its not working
Then it would be better you share with us what was done in detail and what was not working / different result
ahmed4566
(Syed S Ahmed)
December 3, 2023, 6:00pm
9
giving me the replies with greater than the date…my requirement to give last days of any day the bot run
ppr
(Peter Preuss)
December 3, 2023, 6:22pm
10
we did and also linked a tutorial. We also had implemented the same and it is working sucessfully in production projects.
when we are limited and cannot inspect what was done in detail at your end we are blocked for additional guidance.
system
(system)
Closed
December 6, 2023, 6:22pm
11
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.