In my organization, developers do not have authority to create Azure AD app registrations. However, the domain admins have created and provided a registration for me. Via the Teams app toolkit (via VS or VS Code), I cannot find a method for specifying the existing Azure AD app registration information and proceed with local debugging in Teams successfully. I'm new to development via the toolkit, so I'm attempting to simply debug the Tab HelloWorld app.
I tried creating a Teams App via the Developer Portal in Teams and using the Teams App Id, as well as the existing Azure AD App Id, to update the local manifest of the HelloWorld app and attempt to debug locally. VS opens the Teams web app, but Teams--nor the Helloworld app--load.
You can take a look at this tutorial.
Teams Toolkit will use your input Azure AD app if you input the necessary info in .fx/configs/config.{env}.json, and will try to update your Azure AD app. If update failed, Teams Toolkit will show some warnings and you need to follow these steps to manually update your Azure AD app.
Related
I found a lot number of examples how o do this.
https://learn.microsoft.com/en-us/aspnet/core/blazor/security/webassembly/hosted-with-azure-active-directory?view=aspnetcore-6.0
And it works fine when I run it locally in debug.
Everything is fine, until I want to publish the application up to an Azure APP Service.
I create an App Service and connect the server registration to it
I add on the client registration the URL of the APP Service https://xxxxx.azurewebsites.net/authentication/login-callback
In Visual Studio 2022 I publish the server application up to the App Service
To my surprise, the application does not work from the published site...
I get the response:
Sign in
Sorry, but we’re having trouble signing you in.
AADSTS700054: response_type 'id_token' is not enabled for the application.
I can not find an example that go all the way to a published APP service...
So what is wrong in my thinking here?
You need to register the app in Azure AD.
Your error message is: "'id_token' is not enabled for the application"
To fix this under Advanced Settings, Implicit grant check the box "ID tokens".
I had created app for iOS and android in Appcenter.ms.
1) Integrated the SDK
2) Added the event.
3) I can see the events and log flow in the appcenter.ms
But not in the Application insights on Portal.azure.com.
As show in this i did followed the steps : https://learn.microsoft.com/en-us/appcenter/analytics/export
Adding an Azure Subscription
App belonging to an organization: If you are the organization admin, go to the Manage section under the organization where the app belongs to.
App belonging to a user: If you are the app owner, follow these steps.
Login to Appcenter portal
Go to user settings.
Under Azure, click Add subscription
Select an existing Azure subscription or create a new one.
Also this :
On the Appcenter Portal, choose the App.
Go to the App Settings.
Click on Export and select the New Export option.
Select blog storage or Application Insights based on your app needs.
Select the type of configuration . I had click the customization and added the instrumentation key for the application.
Hy Guys,
I'm new to Asp.net and Azure. I was working on ASP.NET with the help of this documentation link, When I publish my project on Azure by creating the Web App with latest portal on Azure, but it is only my application host on the Azure. And now i need to publish the my project database to Azure. In the present portal, the database option is not present there when we create the Web App on Azure to host the database as well with the Web project. But in the old portal as the documentation link guides us the database option is also present there when we publish our Web project on Azure.
Can anyone explain me how can i deploy my Web App existing database to Azure even if my Project has been deployed on Azure?
How can I deploy my existing Web App Database to Azure on the new portal.
If you use Code First Model of Entity Framework, you could just configure the connection string for your web application when you publish your web application. Entity Framework will generate tables for you automatically.
If there are existing data in your database which you want to migrate to Azure SQL Database. You could download a tool named Migration Assistant which will help you do it. For detail steps, link below is for your reference.
SQL Server database migration to SQL Database in the cloud
In the documentation he is using the old dashboard of Azure in which database option is attached with the Web App Publish procedure.
A small difference between old dashboard and new dashboard is that the creating Azure SQL Database feature is hidden when you create your app service. You need to click Explorer additional Azure services link to open the a new window for creating Azure SQL Database.
After creating a database, you could choose the database in the Setting tab when you publish your web application.
You also could create a database directly in Azure portal. After creating a database, you could get the connection string from the overview page.
If you make changes to a database schema and are using code first EF, will EF update your database schema when you redeploy your web app?
It depends whether you have enabled and run the migration. In the publish setting window, we could click the [Execute Code First Migrations] button to update the database schema .
If this button is disabled in the setting window, we need to run Enable-Migrations command in Package Manager Console.
In Visual Studio click menu Tool -> NuGet Package Manager -> Package Manager Console, input Enable-Migrations and run it.
I've finally gotten around to familiarizing myself with Azure. I've created several App Services on a new App Service Plan. I've created a SQL Server instance and a SQL Server DB. My intention is to create new MVC sites, one for each App Service I created. I got the Azure SDK all set up and went about trying to create my first site, but now I'm stuck. It seems Microsoft expected me to create the projects in Visual Studio first, and allow the Azure SDK to create a corresponding App Service in Azure for the new projects. This isn't what I've done. So, I've encountered a screen where Visual Studio is asking me to put in details (Web App Name, Resource Group, App Service Plan) for the new App Service, but it doesn't let me choose from a list of existing App Services.
How can I associate the project I'm creating in Visual Studio with the existing App Service I already created in the Azure Portal?
This is the dialog I encountered while creating a new Web Application in Visual Studio and selecting the option to host in Azure. Notice there's a text box to enter a new App Service (Web App) name, but no drop-down to select previously existing App Services.
Azure Web Apps can be created in either direction. You should be able to create them either via Visual Studio or directly in the Azure Portal.
I'm assuming that you've already performed the following steps:
In Solution Explorer, right-click web app project.
In popup menu, select "Publish"
Select Azure subscription to see if any Web Apps exist.
From here on forward, you should be able to create a new Web App or select an existing Web App. Since you're not seeing your existing Web App, let's try to troubleshoot.
In the Publish dialog, create a new Web App (in Visual Studio).
In the Azure Portal, check to see if that Web App was created.
In case you have more than 1 subscription (e.g. free, BizSpark, MSDN from work), this will confirm whether you're looking at the same subscription in both places.
I've included a screenshot below to show you that I have multiple subscriptions, each of which contains a different set of Web Apps.
Hope that helps!
I just signed up for a Meteor developer account and deployed my first app. I have searched and seen the blog post on the develop account but I have not found any information on how to login and view a list of all apps deployed to your account.
So for example after
meteor login
you could type
meteor list
and it would list all the apps deployed to this account
but I have not found any such command and I am wondering if it exists?
Update
The command has since been added use:
meteor list-sites
Make sure you're logged in first. Use meteor login to login, if you're not already.
At the moment this feature is not yet available. It should be available soon, according to the discussions on meteor-talk, with an API call and a meteor command like 'list'.
The apps listed on your Meteor Developer account are not the same as your deployed apps. The apps listed there are the ones that have access to your meteor developer account via OAuth.
More Info:
https://groups.google.com/forum/#!topic/meteor-talk/QPlmTfYf5gM
https://groups.google.com/forum/#!topic/meteor-talk/xFmGbAsmIck
You can view your Developer Account Apps from the Meteor Account settings page
Once you log in, you will see all of your apps listed under "Your Developer Account Apps"
The command has been added. Use
meteor list-sites
To show all apps deployed to your account.