Hi,
We have an issue with the O365 Connector.
We generate a token and it works just fine, completes the task with success.
But that only lasts for a day, the next day we get the error "Inventory gathering failed. Error: The remote server returned an error: (400) Bad Request."
We then have to go again and generate another token in order for it to work again. So we basically have to generate a new token every day.
What do you think could be the problem here?
PS: We have multiple clients with O365 connectors (that work just fine), but this specific client is the only one that has two factor authenticator activated on the Microsoft Account. Do you think this could be the reason the token only last for one day?
May 10, 2023 05:18 AM
Hi @andreidrexler , I think the O365 connector does not work with accounts using 2FA. Also, you should try using the client secret method to generate the token. This may be a good approach to bypass the 2FA requirement.
Hope this helps.
Thanks!
May 21, 2023 02:24 PM
Hello @andreidrexler , since we are getting 400 Bad Requests here. I would double-check if the following values are the same on the O365 connector.
May 10, 2023 10:29 AM - edited May 10, 2023 10:29 AM
Hello,
So our values were a bit different than these. But we tried this method and it still won't work more than one day.
May 23, 2023 02:22 AM
Hi @andreidrexler , I think the O365 connector does not work with accounts using 2FA. Also, you should try using the client secret method to generate the token. This may be a good approach to bypass the 2FA requirement.
Hope this helps.
Thanks!
May 21, 2023 02:24 PM