Can I use google cloud speech api in microsoft azure vm? - azure

I am trying to use google cloud speech API in microsoft azure machine(Where I have installed asterisk service). Is it possible to do this. Because in GCP we have an option where we can enable 'Allow all cloud API services'. But in microsoft we do not have an option to enable. If I use I am getting the following error. Please go through the staktrace and help me.
Note : we have a working version in GCP machine. Now I am deploying it into microsoft vm(Then only I am getting this error).

An API can be called over the internet. If the machine is configured to be able to connect to the internet than yes, you can.
Looking at the error you're getting, it looks like there's something wrong with your authentication setup.
DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application.
For more information, please see https://cloud.google.com/docs/authentication/getting-started
If you follow the instructions in the linked documentation on Getting Started with Authentication, you should be good to go.

Seams like i answered same less than week ago.
Please check that you setuped credentials for asterisk user, not for root. Asterisk is running under asterisk user.

Related

Connect Azure DB (MFA) in Pycharm

I used to connect Azure DB in pycharm easily. Since MFA is activated I cannot connect my DB into it. Can anyone help me please, I really need to use it from pycharm directly without having to use SQL server management studio each time i want to query the DB. Thank you.
I have tried selecting Azure Active Directory interactive option but it fails.
It appears on some forums that this is a typical pycharm issue where it does not handle MFA authentication but I can't find something recent, all questions asked were in 2017 or 2019.

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://learn.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 ?

Azure Cloud Shell Stuck in Instantiation

I have signed up for the Microsoft Sandbox. It worked fine for once but now the Cloud Shell is not opening at all in the MS Concierge Subscription. Getting the attached error. Trying to follow this - https://learn.microsoft.com/en-us/learn/modules/run-docker-with-azure-container-instances/2-run-aci
If I go into the subscription, I get this - Something went wrong...
The client with application Id '604c1504-c6a3-4080-81aa-b33091104187' is not permitted to access this API.
Also, on the Docs page, I just keep seeing this --
Azure Cloud Shell
Configuring Cloud Shell for sandbox access...
It worked fine for the first time but after that, it hasn't been working at all.
Please do note that this subscription is not owned by me and is maintained by MS for the sandbox stuff which is part of the Microsoft Learn program. Subscription ID - a67eb823-344a-4ddd-8346-ebe028190ccc
Thanks,
Pranav
After having a try with the link you posted, the Microsoft Sandbox works well for me. And the subscription that you have shown is not only owned you. I think it's for all the people who are here to learn. The result with the screenshots is here.
So the Microsoft Sandbox is OK. Maybe you can restart the cloud shell with the button on its left top or flush the browser. And you can also check if "Sandbox activated!" shows in the page.

Howto add Azure AD as AWS Cognito Federated IdP

G'day Everyone.
I have a Web application running with AWS S3, RDS, Lambda and API Gateway using an AWS Cognito user pool as login service. This is working good so far. But now i would like to integrate it with Azure ID.
Does someone has a good documentation about it. I can only find documentation for the other way round or for integration Azure AD into the AWS Console.
The reason could be that this feature just went from beta to production a few weeks ago.
The steps are quite long, but I've created a tutorial on setting this up.
There is a current bug within the AzureAD web console that prevents changing the App ID to a URN, but it can be worked around by modifying the parameter with AzureAD powershell.
See the following blog post here:
https://www.idea11.com.au/how-to-set-up-aws-cognito-federation-office365/
I ran into some troubles while logging in via personal live/hotmail accounts using SAML, turns out there's no proper support for that yet, try OIDC.
Follow:
https://www.terminalbytes.com/azure-ad-integration-as-an-idp-with-aws-cognito/

Azure deployment fails because service not found

I am currently trying to deploy a cloud service to Windows Azure but I get the following error message:
"Could not retrieve the list of cloud services.[...]"
Details can be seen on the picture.
It seems to me that VS couldn't find an existing service role in the subscription but my service is available and running, I just can not deploy a new version there.
A few days ago it worked correctly. Any Idea would be appreciated.
Thank you!
After hours of Certificate generation, messing with azure toolkit, etc. I figured out that the problem was that somehow my computer tried to resolve the azure DNS to localhost because Fiddler got crazy and the proxy that Fiddler uses, haven't stopped even after restarting my computer.
I faced same problem, when trying to deploy to azure while fiddler is running. Simply closing fiddler solve the problem.
Go to the previous screen, there will be an option of connecting to Azure using your credentials. Select your subscription and you will be able to download a file to your local machine. That file contains your subscription info as well as the keys. Once you open that file through this wizard, you will be able to publish to your services. You must create cloud services first before you do that.

Resources