Hello Tobias Weber,
Thank you for reaching out to Microsoft Support!
According to the document, during the configuration of connection Settings, client ID and client secret are required when OAuth 2.0 AAD is selected, but the attribute name on the page is the username and password, so please try to fill in the value of client ID in the username. client secret in the password.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.