Azure B2C access error - azure-active-directory

trying to run sample code from here https://learn.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-devquickstarts-web-dotnet-susi
getting error
error : The 'Microsoft.Identity.Client 1.1.0-preview' package requires
NuGet client version '2.12' or above, but the current NuGet version is
'2.8.60318.667'.
Have simple MVC app ASP.NET app that is unsecured and want to secure it by email address from root page of web site... Simple right?

Related

"Localhost refused to connect" using Microsoft Graph Toolkit on a deployed Microsoft Teams custom personal app

Error:
We’re using the Microsoft Graph Toolkit for login credentials in order to use the Microsoft Graph API : https://learn.microsoft.com/en-us/graph/toolkit/overview
With version 2.1.0:
And we did the Azure AD App Registration following this tutorial: https://learn.microsoft.com/en-us/graph/toolkit/get-started/add-aad-app-registration
So, what I think we need, is to change the localhost URI to point to the deployed Teams app. Something like: https://<teams-tenant>/<teams-app>/auth.html. But I can’t figure it out.
What am I missing?
Precisions/Edits:
When running Teams App locally using npm start, we can sign in user and get profile information. The MGT and Azure App are properly configured following Microsoft documentation (for local runs but not for deployments).
Steps to reproduce issue:
Create Teams App using Microsoft Teams Toolkit Extension version 1.2.3 as "Personnal Tab" without SSO
Configure Microsoft Graph Toolkit version 2.1.0 following these steps: https://learn.microsoft.com/en-us/graph/toolkit/get-started/build-a-microsoft-teams-tab#add-the-microsoft-graph-toolkit
Make sure the Azure Active Directory App is created following this step: Add Microsoft Graph Toolkit following these steps: https://learn.microsoft.com/en-us/graph/toolkit/get-started/build-a-microsoft-teams-tab#add-the-microsoft-graph-toolkit
Test and run locally (Add Microsoft Graph Toolkit following these steps: https://learn.microsoft.com/en-us/graph/toolkit/get-started/build-a-microsoft-teams-tab#add-the-microsoft-graph-toolkit) - This should work
Upload appPackage.zip in Teams Admin Center (https://learn.microsoft.com/en-us/MicrosoftTeams/manage-apps?toc=%2Fmicrosoftteams%2Fplatform%2Ftoc.json&bc=%2Fmicrosoftteams%2Fplatform%2Fbreadcrumb%2Ftoc.json#customize-an-app)
Install App in Teams and try to access it. As soon as it tries to load the app, we get the localhost error.
I think this is what you are expecting to see:
Okay, so basically if you want to test the app on Teams it should be running somewhere: You can run it locally by "npm start" or you deploy this on Azure or any app service.
You don't need to change Redirect URI of Azure AD registration until you are testing from local.
Please make sure you have your app using "npm start" and then try to access Teams tab.
It should work.
Thanks

Regarding Time out error in ITfoxtec Identity Saml 2.0

I have to implement the single sign-on functionality in my project. But once I have downloaded ITfoxtec Identity Saml2 project from Github and run the asp.net core project I have to face error like the below screen.
Please revert me on the same as soon as possible.
The solution contains a test identity provider (IdP) project called TestIdPCore. The other test applications in the solution are relaying parties and therefore depends on the TestIdPCore application being running before they can start.
You can either start multiple projects at the same time or ensure that TestIdPCore is running before you start another test application.
I have started multiple projects TestIdpCore and TestWebAppCore.
Once I click on the TestWebAppCore Login link I have to face error like "Sequence contains no elements"
https://i.imgur.com/CoawPM2.png

Github connector Google Data Studio throwing error when trying to load repo info

Error ID: 6b189640
getting this error ID when I am trying to load information into my report on Google Data Studio. Anyone run into this before? When I check the developer logs it just says failed at getData() and nothing else.
I setup the oAuth app on the organization instead of creating the oAuth app on the account of an admin for the organization that I needed access to its repos.

Deploy create-react-app on Azure App services

I am new to React and created a simple react app using create-react-app , it builds and runs fine on local. I created a Azure Build and release pipelines and tried deploying using App Services , refereed below Microsoft link to implement the same.
https://devblogs.microsoft.com/premier-developer/deploying-react-apps-to-azure-with-azure-devops/
Build and release pipeline runs successfully however when I click the Azure app services link to access the react app, I receive below message :-(
"This react-naturalone.azurewebsites.net page can’t be found
No web page was found for the web address: https://react-naturalone.azurewebsites.net/
HTTP ERROR 404"
Can someone please suggest what I am missing.
fyi, I am using react-router, hence added the web.config as mentioned in the link above.
Thanks
AOU
I'm thinking that there is a problem with your deployment pipeline. The first step for your here is to go to your Azure portal and open up your app service. From your app service, go to -->Development tools --> App service editor.
Do you see your code inside it? If you don't, you can confirm that the code didn't deploy correctly. If you do, then you have a misconfiguration somewhere in your app that is preventing anybody from seeing it.

What causes Unauthorized access error in Master Data services web application?

I have a brand new sql server, IIS and Master Data services installation. The installation went okay, but when I access MDS via the browser, I don't see any models or versions listed in "Model:" and "Version:" dropdowns on the home page for my database. Chrome dev tools gives this error "failed to load resource: the server responded with a status of 401 (unauthorized)", but I was able to log into the web app and see the home page. I am also able to log into the database directly, with the same username and password.
I've done the usual auth stuff (enable anonymous auth, ASP.NET impersonation, Form auth). Not sure what else to try
Your question touches on a few issues:
If it's a brand new installation, did you create a new model or deploy any old models? (Sys Admin>Manage>Models>'Add' or Sys Admin>Deployment on the web app tool). You will only see a model in the drop down if you Add a new model or deploy a package of an already created model.
You mention Chrome dev tools. MDS Web app runs on Silverlight, and Chrome does not support it. You need to use IE, or I found an older version of Firefox supporting Silverlight works fine.

Resources