Category: Microsoft
Category Archives: Microsoft
Host and Deploy Images on Azure Container Registries (ACR) via App Service – A step-by-step guide
Learn how to host images on Azure Container Registry and deploy a Web App via the App Service plan. A step-by-step guide by Suzaril Shah
Welcome to my latest blog post! I’m Suzaril Shah, a Gold Microsoft Learn Student Ambassador, and today I’m excited to share a detailed, step-by-step guide on how to efficiently host your images on Azure Container Registry (ACR) and deploy a web application using an App Service plan. Whether you’re a developer, IT professional, or just a tech enthusiast looking to expand your Azure knowledge, this guide is designed to walk you through the process seamlessly. From setting up your ACR to deploying your app, I’ll cover all the necessary steps and best practices to ensure you can get your web app up and running with ease. Let’s dive in and start deploying on Azure!
Prerequisites:
Azure CLI
Azure subscription
If you don’t already have one, you can sign up for an Azure free account.
For Students, you can use the free Azure for Students offer which doesn’t require a credit card only your school email.
Step 1 – Prepare the Docker Container
For this demonstration, I cloned this Docker Hub Image and tagged the image to my own Docker Hub account. This image particularly contains web pages, which is useful to display that the web app is served and accessible via the internet. However, if you have your own Docker image, feel free to use them.
Step 2 – Setting the Container Registry on Azure
Go to Azure Portal (portal.azure.com) and search for “Container Registries” on the Search bar and click on it. Create a new registry by clicking on the “+ Create” button.
Select your Subscription and Resource Group from the dropdown and name your registry.
Click on “Next >” button until you have reached the “Review + create”. Click on “Create” button to finalize the registry creation.
Once the Deployment is complete, click on the “Go to resource” button to view the registry. At this point the registry is ready to store the image in the registry.
Enable Admin user on the Azure Container Registry
Each container registry includes an admin user account, which is disabled by default. You can enable the admin user and manage its credentials in the Azure portal, or by using the Azure CLI, Azure PowerShell, or other Azure tools. The admin account has full permissions to the registry.
To enable Admin user, you can go to the container registry page you have created earlier and head to “Settings” > “Access Keys” subsection. Click on the checkbox for “Admin User”. Two passwords should be generated.
Step 3 – Push image to Azure container registry from Docker Hub
On the Azure Container Registry page, click on the “Push an Image” button to get started with the hosting the image on Azure registry.
Follow the instructions given on Azure to login, pull & tag image to ACR and push the image to the Azure registry.
Login to Azure on a CLI.
az login
Upon logging in to Azure via CLI, you should be redirected to complete browser authentication and see this page:
Now login to your Azure Container registry
az acr login –name [REGISTRY_NAME]
You should receive an output resembling the following:
az acr login –name suzarilshah
Login Succeeded
Pull the image on Docker Hub and tag the image to ACR.
Now pull an image to your host machine so we can prepare and host them on Azure Container Registry. In this case, I will use the image in Step 1.
docker pull airilshahz/apptest
Using default tag: latest
latest: Pulling from airilshahz/apptest
59bf1c3509f3: Pull complete
683dd8c3cc08: Pull complete
ae5b2724f19b: Pull complete
39190df3f477: Pull complete
dd3448b85aa1: Pull complete
d73408ac8b5c: Pull complete
26a6466d7ac5: Pull complete
3db399cf7250: Pull complete
Digest: sha256:249cb92c030c02d5a13b1beef894c306e77aa82e6847e7fc04d2ec46f8306579
Status: Downloaded newer image for airilshahz/apptest:latest
docker.io/airilshahz/apptest:latest
What’s Next?
View a summary of image vulnerabilities and recommendations → docker scout quickview airilshahz/apptest
Let’s tag the image following the tag format: [REGISTRY_ENDPOINT/REPOSITORY/IMAGE]. You can find the Registry Endpoint at the ACR Overview page (Login server)
docker tag airilshahz/apptest suzarilshah.azurecr.io/webapp/apptest
Push the Image on Azure Container Registry
docker push suzarilshah.azurecr.io/webapp/apptest
Using default tag: latest
The push refers to repository [suzarilshah.azurecr.io/webapp/apptest]
177b596a6349: Pushed
9707d450e65b: Pushed
5bcf0d6dff6a: Pushed
1b6b342bd971: Pushed
49281578ca1a: Pushed
c833154f20e9: Pushed
5be440dc5019: Pushed
8d3ac3489996: Pushed
latest: digest: sha256:249cb92c030c02d5a13b1beef894c306e77aa82e6847e7fc04d2ec46f8306579 size: 1998
Now you have an image stored on Azure Container Registry. You can check the image you pushed on ACR by going to the “Services” > “Repositories” section on the ACR page.
Step 4 – Deploy the Image to App Service from ACR
Head to “App Service” by searching for them on the Search bar on Azure portal. Click on the “+ Create” > “Web App” button to create a Web App.
Select Subscription from the drop down menu and specify the resource group. Then, name your web app endpoint. Follow the configuration as specified below. Please ensure that you have selected “Container” for the “Publish” configuration.
Create a new Linux Plan under the “Pricing plans” section. For this demonstration, I will use the Free tier to host my web app. Then, click on Next to proceed with creating the web app.
On the “Container” tab, make sure to Select “Azure Container Registry” as the Image Source. Select the Registry you have created earlier and specify the Image and Tag.
On the “Networking” tab, please make sure to turn on the “Enable public access” settings. This ensures that our web app is accessible to everyone on the Internet. Turn this off, if you do not intend to allow external users to access your web app.
Click on the “Review + create” button to finalize the Web App configuration. Click on “Create” button to deploy the web app.
After the Web App is deployed successfully, click on the “Go to resource” button to view the Web App overview page.
To view your Web App, click on the “Browse” button on the Web App overview page or copy and paste the information from the “Default domain” section to access your web app.
Voila! The Web App is now accessible on the Internet.
Learning takeaways
This comprehensive guide provides a detailed walkthrough on using Azure Container Registry (ACR) and Azure App Service to host and deploy web applications. Readers should be able to set up ACR, host images to ACR, and deploy the images hosted on ACR via App Service. This tutorial not only enhances technical skills in managing cloud-based applications but also offers practical insights into integrating and leveraging Azure services to publish applications on the internet.
Microsoft Tech Community – Latest Blogs –Read More
Can QuickBooks Payroll Error 40001 Be Prevented?
How can I prevent QuickBooks Payroll Error 40001? I keep encountering this issue, and it’s disrupting my payroll processing. Is there a way to avoid this error in the future? Any advice on what causes it and how to fix it would be helpful.
How can I prevent QuickBooks Payroll Error 40001? I keep encountering this issue, and it’s disrupting my payroll processing. Is there a way to avoid this error in the future? Any advice on what causes it and how to fix it would be helpful. Read More
What Causes QuickBooks Payroll Update Error Code 40001?
I encountered error code 40001 while trying to update QB Payroll. What could be causing this issue?
I encountered error code 40001 while trying to update QB Payroll. What could be causing this issue? Read More
Why Do I Keep Getting QuickBooks Error 15242 During Payroll Update?
I encountered QB Error 15242 while attempting a payroll update. What could be causing this issue, and how can I resolve it quickly? It’s disrupting our payroll processing, and we need a solution as soon as possible.
I encountered QB Error 15242 while attempting a payroll update. What could be causing this issue, and how can I resolve it quickly? It’s disrupting our payroll processing, and we need a solution as soon as possible. Read More
How to Fix Common Payroll Errors in QuickBooks Desktop?
I’m encountering a payroll error in QB Desktop and it’s causing major discrepancies in my records. I’ve double-checked all entries, but the issue persists. What could be causing this problem, and how can I resolve it quickly to ensure accurate payroll processing?
I’m encountering a payroll error in QB Desktop and it’s causing major discrepancies in my records. I’ve double-checked all entries, but the issue persists. What could be causing this problem, and how can I resolve it quickly to ensure accurate payroll processing? Read More
What To Do When QuickBooks Payroll Update not Working in Windows?
My QuickBooks Payroll Update is not working, and I keep getting error messages. What can I do to fix this issue and ensure my payroll updates run smoothly?
My QuickBooks Payroll Update is not working, and I keep getting error messages. What can I do to fix this issue and ensure my payroll updates run smoothly? Read More
Expert Tips to Resolve QuickBooks Payroll Server Error
I’m encountering a QuickBooks Payroll Server Error message while using the software. It’s disrupting my payroll processing, and I’m unsure how to resolve it. What could be causing this issue, and how can I fix it quickly? I need a solution as soon as possible to ensure my payroll tasks aren’t delayed.
I’m encountering a QuickBooks Payroll Server Error message while using the software. It’s disrupting my payroll processing, and I’m unsure how to resolve it. What could be causing this issue, and how can I fix it quickly? I need a solution as soon as possible to ensure my payroll tasks aren’t delayed. Read More
Why is My QuickBooks Payroll Update not Working in Mac?
Why is my QuickBooks Payroll Update not working? I’m facing errors while trying to update payroll and need urgent help with troubleshooting this issue.
Why is my QuickBooks Payroll Update not working? I’m facing errors while trying to update payroll and need urgent help with troubleshooting this issue. Read More
How to Identify and Fix a Payroll Error in QuickBooks Online?
I’m facing a payroll error in QB Online, and it’s causing a lot of frustration. I’ve double-checked the entries, but the calculations seem off. How do I identify and rectify this issue? It’s crucial to ensure accurate payroll processing. Can someone guide me through troubleshooting steps or provide insights into common mistakes to avoid?
I’m facing a payroll error in QB Online, and it’s causing a lot of frustration. I’ve double-checked the entries, but the calculations seem off. How do I identify and rectify this issue? It’s crucial to ensure accurate payroll processing. Can someone guide me through troubleshooting steps or provide insights into common mistakes to avoid? Read More
Why is My QuickBooks Payroll Won’t Update in windows 10/11?
Why won’t my QuickBooks Payroll update? I’ve tried multiple times, but it keeps failing. How can I troubleshoot and resolve this issue?
Why won’t my QuickBooks Payroll update? I’ve tried multiple times, but it keeps failing. How can I troubleshoot and resolve this issue? Read More
What To Do When stuck in QuickBooks Desktop Payroll Update Not Working after latest update?
I’m having trouble with my QuickBooks Desktop Payroll update not working. How can I fix this issue?
I’m having trouble with my QuickBooks Desktop Payroll update not working. How can I fix this issue? Read More
Looking to confirm effects of “Sign out inactive users” setting in Sharepoint admin center
Hi. I’m a MS global admin for my company (and quite new to it). Our security center is recommending enabling “Idle session sign-out” in the Sharepoint admin center (setting here, documentation here)
The documentation says the article is for “admins wanting to control user access to SharePoint and OneDrive (business) data on unmanaged devices”. What about Windows devices that are managed in Intune, does it not affect them? (we only allow Intune-managed company-purchased computers to access 365 resources)
Before I enable it, I want to confirm this setting only applies to the web-app/browser versions Sharepoint and OneDrive, that it doesn’t cause the desktop version of OneDrive to sign out. Also, if someone is using the browser version of OneDrive and it does sign out, will it affect other people accessing shared files in said OneDrive?
Hi. I’m a MS global admin for my company (and quite new to it). Our security center is recommending enabling “Idle session sign-out” in the Sharepoint admin center (setting here, documentation here) The documentation says the article is for “admins wanting to control user access to SharePoint and OneDrive (business) data on unmanaged devices”. What about Windows devices that are managed in Intune, does it not affect them? (we only allow Intune-managed company-purchased computers to access 365 resources) Before I enable it, I want to confirm this setting only applies to the web-app/browser versions Sharepoint and OneDrive, that it doesn’t cause the desktop version of OneDrive to sign out. Also, if someone is using the browser version of OneDrive and it does sign out, will it affect other people accessing shared files in said OneDrive? Read More
Bluetooth supposedly connected my “Beats Audio” ear bugs/my Bose AE 2 headphones! NOT = ! = WTH
Bluetooth supposedly connected my “Beats Audio” ear bugs/my “Bose AE-2 Soundlink” headphones! NOT happening, I have to connect via System–>Bluetooth, it may take more than two (2), I say again, 2 attempts.
Unsatisfactory, link to laptop should have occurred w/o my having to do it, via the System menu!
I have had both of my Bluetooth ‘items’ connect before (devices are found & listed), now I don’t trust the system to connect… Is this the 21st century, or what the $#@* is the matter?!!
Whose testing this ‘SNAP’?!!
Bluetooth supposedly connected my “Beats Audio” ear bugs/my “Bose AE-2 Soundlink” headphones! NOT happening, I have to connect via System–>Bluetooth, it may take more than two (2), I say again, 2 attempts. Unsatisfactory, link to laptop should have occurred w/o my having to do it, via the System menu!I have had both of my Bluetooth ‘items’ connect before (devices are found & listed), now I don’t trust the system to connect… Is this the 21st century, or what the $#@* is the matter?!! Whose testing this ‘SNAP’?!! Read More
Inventory Management in Sharepoint
Hi there,
I have an inventory list for our first aid kit in SharePoint lists.
The list keeps track of:
– the items we have
– how many we have
– when to reorder them
– when they expire
– when they were last checked
– who checked them.
I am wanting to create a form or list for the incident reports which will include the incident that happened and what they used. I want to somehow CONNECT these so that we can see the history of these items.
For example:
For plasters we can see :
Joe used x2 plasters on 12/12/2012
Anne used x1 plaster on. 01/01/2013
Etc.
I’m not sure how to go about this? Any ideas?
Thanks
Hi there,I have an inventory list for our first aid kit in SharePoint lists.The list keeps track of:- the items we have- how many we have- when to reorder them- when they expire- when they were last checked- who checked them. I am wanting to create a form or list for the incident reports which will include the incident that happened and what they used. I want to somehow CONNECT these so that we can see the history of these items.For example:For plasters we can see :Joe used x2 plasters on 12/12/2012Anne used x1 plaster on. 01/01/2013Etc. I’m not sure how to go about this? Any ideas?Thanks Read More
Microsoft Teams Calling blocked “We couldn’t complete the call. Please contact your admin”
On a relatively new (3 weeks old) tenant, set up cleanly, with paid subscriptions and proper, correct licensing for Teams Calling, PSTN calling has been working fine since implementation.
But last night I received multiple emails stating “Skype for Business all users blocked for PSTN calling – We have detected what may be fraudulent calling activity for one or more of your Skype for Business users. In order to prevent financial risk to you and your business we have disabled calling and/or conferencing services for all users:”
I got an email for each user, AND an email stating that ALL users were blocked.
This is a brand new tenant in Teams-only mode, SkypeForBusiness doesn’t even show up in the tenant. There is no “Reports->Skype for Business->ANYTHING” option in the M365 Admin Center.
Entra Admin Center shows no logins or unknown activity for any of the users (all of which are protected with 2FA and authenticators). The Teams Admin Center Usage Report shows only two calls made in the past 24 hours – both were test calls from me to my cell testing out call forwarding. The Teams Admin Center Blocked Users Report is broken and crashing.
I tried to test with the self-help diagnostics. Interestingly, the diagnostic fails saying there is no number assigned to the user…
Except that there is. In the assigned numbers screen, everything shows up properly and correctly.
The emails state: “If you determine the call(s) were not fraudulent, please: Contact Microsoft Support. A customer support agent will assist you in unblocking the user’s calling and/or conferencing capabilities.”
The problem is that the support engineers I’m getting are on the other side of the planet, with an accent very different than mine. They can barely understand me and I can barely hear them. Worse: they kept attempting to debug using Get-CsUser – which is a fully-deprecated and no-longer-working cmdlet, and then basically gave up, saying they would “escalate it to their back office.” They have no idea what is happening or why or how to fix it.
I’ve had no updates since.
Does anyone know why this happened or how to fix it? No fraudulent logins, no compromised accounts, no strange calls, no nothing… and yet the entire tenant is blocked? I’ve gone through most of the PowerShell cmdlets I can think of, compared them against a working tenant, and they’re all identical – yet both incoming and outgoing PSTN calling remains blocked.
Can anyone help me either fix this, or teach me how to get past the very difficult-to-work-with front-line support at Microsoft to someone who knows how to unblock this?
My users are already looking at Google Voice… ugh…
On a relatively new (3 weeks old) tenant, set up cleanly, with paid subscriptions and proper, correct licensing for Teams Calling, PSTN calling has been working fine since implementation. But last night I received multiple emails stating “Skype for Business all users blocked for PSTN calling – We have detected what may be fraudulent calling activity for one or more of your Skype for Business users. In order to prevent financial risk to you and your business we have disabled calling and/or conferencing services for all users:” I got an email for each user, AND an email stating that ALL users were blocked. This is a brand new tenant in Teams-only mode, SkypeForBusiness doesn’t even show up in the tenant. There is no “Reports->Skype for Business->ANYTHING” option in the M365 Admin Center. Entra Admin Center shows no logins or unknown activity for any of the users (all of which are protected with 2FA and authenticators). The Teams Admin Center Usage Report shows only two calls made in the past 24 hours – both were test calls from me to my cell testing out call forwarding. The Teams Admin Center Blocked Users Report is broken and crashing. I tried to test with the self-help diagnostics. Interestingly, the diagnostic fails saying there is no number assigned to the user… Except that there is. In the assigned numbers screen, everything shows up properly and correctly. The emails state: “If you determine the call(s) were not fraudulent, please: Contact Microsoft Support. A customer support agent will assist you in unblocking the user’s calling and/or conferencing capabilities.” The problem is that the support engineers I’m getting are on the other side of the planet, with an accent very different than mine. They can barely understand me and I can barely hear them. Worse: they kept attempting to debug using Get-CsUser – which is a fully-deprecated and no-longer-working cmdlet, and then basically gave up, saying they would “escalate it to their back office.” They have no idea what is happening or why or how to fix it. I’ve had no updates since. Does anyone know why this happened or how to fix it? No fraudulent logins, no compromised accounts, no strange calls, no nothing… and yet the entire tenant is blocked? I’ve gone through most of the PowerShell cmdlets I can think of, compared them against a working tenant, and they’re all identical – yet both incoming and outgoing PSTN calling remains blocked. Can anyone help me either fix this, or teach me how to get past the very difficult-to-work-with front-line support at Microsoft to someone who knows how to unblock this? My users are already looking at Google Voice… ugh… Read More
“Go to connections” in appearing in SharePoint Online Home Site
Hi,
Recently, I have observed in some tenant “Go to connections” button is appearing in SharePoint Online Home communication site. Is it possible to disable this option from SharePoint end ?
Also, is there any documentation around this when Microsoft released this feature and what is this ?
Thank you in advance for your response on this topic.
Regards,
Pratik
Hi, Recently, I have observed in some tenant “Go to connections” button is appearing in SharePoint Online Home communication site. Is it possible to disable this option from SharePoint end ? Also, is there any documentation around this when Microsoft released this feature and what is this ? Thank you in advance for your response on this topic. Regards,Pratik Read More
What are some effective methods and tools available for recovering corrupted or lost PST files?
You can recover your data with Softaken Outlook PST Repair Software. Recover your PST file with this simple tool. This powerful tool is designed to restore your damaged or corrupted PST file quickly and efficiently. Users can recover mailboxes, calendars, contacts, messages, attachments, tasks, and much more from Outlook PST files with these features. Its scanning technology ensures complete data recovery without any loss. Perfect for both personal and business purposes, this software is a great solution for PST file recovery.
You can recover your data with Softaken Outlook PST Repair Software. Recover your PST file with this simple tool. This powerful tool is designed to restore your damaged or corrupted PST file quickly and efficiently. Users can recover mailboxes, calendars, contacts, messages, attachments, tasks, and much more from Outlook PST files with these features. Its scanning technology ensures complete data recovery without any loss. Perfect for both personal and business purposes, this software is a great solution for PST file recovery. Read More
Format X-Axis label colors in Excel charts
Dear Experts,
May be a trivial case, but how would you change the X-axis label colors/Font?
If they are numbers we can play around, but if they are Text , I couldn’t see such option.
For example, in below chart, I want to color the “BWP_CHNG_FAIL” and “PARSING_NOT_ENABLED” as Bold-RED, while “NO_ERROR” as Bold Green, how would I achieve that?
In Format Axis, not much option , I can see for that to color based on different criteria?
Attaching the Sample file,
Thanks in Advance,
Br,
Anupam
Dear Experts, May be a trivial case, but how would you change the X-axis label colors/Font?If they are numbers we can play around, but if they are Text , I couldn’t see such option.For example, in below chart, I want to color the “BWP_CHNG_FAIL” and “PARSING_NOT_ENABLED” as Bold-RED, while “NO_ERROR” as Bold Green, how would I achieve that?In Format Axis, not much option , I can see for that to color based on different criteria?Attaching the Sample file,Thanks in Advance,Br,Anupam Read More
Text wrapping in a table
The text has stopped wrapping at the end of the line. It was okay but I must have done something to mess it up. It’s as if it’s hidden under the next column. Help!
The text has stopped wrapping at the end of the line. It was okay but I must have done something to mess it up. It’s as if it’s hidden under the next column. Help! Read More
How can I fix a payroll error in QuickBooks Desktop?
I’m encountering a payroll error in QuickBooks Desktop that’s causing issues with processing payroll. Can you provide guidance on how to troubleshoot and resolve this problem efficiently?
I’m encountering a payroll error in QuickBooks Desktop that’s causing issues with processing payroll. Can you provide guidance on how to troubleshoot and resolve this problem efficiently? Read More