Hi @BrunoT ,
Welcome to our forum!
According to your description, i notice that you have issues about add-in development, please kindly understand that Outlook tag here is mainly focus on general issues about Outlook desktop client.
Based on my research on "Autodiscover service couldn't be located", i found a thread mentioned that this error could occur if you have not registered with your Exchange server. When you hit Debug, it will show a screen to you where you specify the Exchange server. You need that since it installs the app in Exchange and executes it from there. Your app won’t run without it. So the bottom-line is: you need a working Exchange server with AutoDiscovery on. More information: Can't locate the AutoDiscover service when running Outlook app from Visual Studio.
(Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)
Hope to help you! If the above doesn't help, i will add "Office Development" tag to better resolve your issue.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.