If you add all the auth parameters (–auth S2S –clientid etc…) to the getdata line, then BCCL can renew the token during the transfer.

4 Responses

  1. Hi Erik, still getting the error.

    C:BCCLFeb2025BCCL_2.22.0.267installerclientWindows>BCCL -t getdata -s table=27 -o Item -m mappingItem.mapping.json –auth S2S –clientid @@@@ –clientsecret “@@@@” –tenantid @@@@
    Sql table Item, 1000 inserted, 0 updated
    Sql table Item, 1000 inserted, 0 updated
    Sql table Item, 1000 inserted, 0 updated
    Sql table Item, 1000 inserted, 0 updated
    Sql table Item, 1000 inserted, 0 updated
    Sql table Item, 1000 inserted, 0 updated
    Sql table Item, 1000 inserted, 0 updated
    An error has occurred: Unauthorized The credentials provided are incorrect
    An error has occurred: Unauthorized The credentials provided are incorrect

  2. BCCL assumes that tokens live for 1 hour, and refreshes after 30 minutes. Is your Entra setup to have very short-lived tokens?

Leave a Reply