简体   繁体   中英

Microsoft Translation API Authentication Failure

We currently have both a TEST and DEV environment of our application set to connect to Microsoft Translator. For our test environment, everything connects fine. For our DEV environment, authentication is failing and we do not know why. Both machines appear to have the same configuration. We are testing both with the same API key (which we have done in the past).

My question is: How do we monitor the calls to this API in the Azure portal? I have turned on a number of diagnostics but none are appearing to give me the network info I need. Network Watcher appears to be for VMs. I want to be able to look at the calls that are logged using my key to troubleshoot this issue.

Any help is greatly appreciated :)

Thanks.

You can try application insights - https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview I need some more information about this case, 01. Are you calling Microsoft Translate API inside your application or you are developing an API using, Microsoft Translate API ? 02.Hope you are using azure web apps. Are you using slots to manage dev and test environment.
03. Are you using API Management ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM