Category: Microsoft
Category Archives: Microsoft
Couldn’t get equations in html when convert word .docx file to html file in C#.
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();
Microsoft.Office.Interop.Word.Document doc = Globals.ThisAddIn.Application.ActiveDocument;
string result = Path.GetTempPath();
string tmpFileName = Globals.ThisAddIn.Application.ActiveDocument.FullName;
doc.SaveEncoding = Microsoft.Office.Core.MsoEncoding.msoEncodingUSASCII;
if (File.Exists(result + “temp.html”))
{
File.Delete(result + “temp.html”);
}
doc.SaveAs(result + “temp.html”, WdSaveFormat.wdFormatFilteredHTML);
doc.Close(Microsoft.Office.Interop.Word.WdSaveOptions.wdDoNotSaveChanges);
HtmlAgilityPack.HtmlDocument mangledHTML = new HtmlAgilityPack.HtmlDocument();
mangledHTML.Load(result + “temp.html”);
if (File.Exists(result + “newtemp.html”))
{
File.Delete(result + “newtemp.html”);
}
mangledHTML.Save(result + “newtemp.html”);
// Remove standalone CRLF
string badHTML = File.ReadAllText(result + “newtemp.html”);
badHTML = badHTML.Replace(“rnrn”, “ackThbbtt “);
badHTML = badHTML.Replace(“rn”, ” “);
badHTML = badHTML.Replace(“ackThbbtt “, “rn”);
badHTML = badHTML.Replace(‘�’, ‘ ‘);
if (File.Exists(result + “finaltemp.html”))
{
File.Delete(result + “finaltemp.html”);
}
File.WriteAllText(result + “finaltemp.html”, badHTML);
// Clean up temp files, show the finished result in Notepad
File.Delete(result + “temp.html”);
File.Delete(result + “newtemp.html”);
Microsoft.Office.Interop.Word.Document orignalDoc = new Document();
orignalDoc = Globals.ThisAddIn.Application.Documents.Open(tmpFileName);
Basically, what I want to do is I want to store all word document paragraph data separately in database and I also want it’s all property like font size, font width, font name and font style. So that I can show it in my application as it is as I written in word document file.
To represent it as it is I need to convert it html format and the by sepreting all paragraphs I can store it in database. But when in my word document has paragraph which have equations then
Globals.ThisAddIn.Application.ActiveDocument.Select();
Microsoft.Office.Interop.Word.Document doc = Globals.ThisAddIn.Application.ActiveDocument;
string result = Path.GetTempPath();
string tmpFileName = Globals.ThisAddIn.Application.ActiveDocument.FullName;
doc.SaveEncoding = Microsoft.Office.Core.MsoEncoding.msoEncodingUSASCII;
This code converts my word documents all equations in Images and as it convert in image I can’t show the equation properly in my application.
So I tried to convert this equations in MATHML form but I couldn’t solve this.
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();
Microsoft.Office.Interop.Word.Document doc = Globals.ThisAddIn.Application.ActiveDocument;
string result = Path.GetTempPath();
string tmpFileName = Globals.ThisAddIn.Application.ActiveDocument.FullName;
doc.SaveEncoding = Microsoft.Office.Core.MsoEncoding.msoEncodingUSASCII;
if (File.Exists(result + “temp.html”))
{
File.Delete(result + “temp.html”);
}
doc.SaveAs(result + “temp.html”, WdSaveFormat.wdFormatFilteredHTML);
doc.Close(Microsoft.Office.Interop.Word.WdSaveOptions.wdDoNotSaveChanges);
HtmlAgilityPack.HtmlDocument mangledHTML = new HtmlAgilityPack.HtmlDocument();
mangledHTML.Load(result + “temp.html”);
if (File.Exists(result + “newtemp.html”))
{
File.Delete(result + “newtemp.html”);
}
mangledHTML.Save(result + “newtemp.html”);
// Remove standalone CRLF
string badHTML = File.ReadAllText(result + “newtemp.html”);
badHTML = badHTML.Replace(“rnrn”, “ackThbbtt “);
badHTML = badHTML.Replace(“rn”, ” “);
badHTML = badHTML.Replace(“ackThbbtt “, “rn”);
badHTML = badHTML.Replace(‘�’, ‘ ‘);
if (File.Exists(result + “finaltemp.html”))
{
File.Delete(result + “finaltemp.html”);
}
File.WriteAllText(result + “finaltemp.html”, badHTML);
// Clean up temp files, show the finished result in Notepad
File.Delete(result + “temp.html”);
File.Delete(result + “newtemp.html”);
Microsoft.Office.Interop.Word.Document orignalDoc = new Document();
orignalDoc = Globals.ThisAddIn.Application.Documents.Open(tmpFileName);
Basically, what I want to do is I want to store all word document paragraph data separately in database and I also want it’s all property like font size, font width, font name and font style. So that I can show it in my application as it is as I written in word document file.To represent it as it is I need to convert it html format and the by sepreting all paragraphs I can store it in database. But when in my word document has paragraph which have equations thenGlobals.ThisAddIn.Application.ActiveDocument.Select();
Microsoft.Office.Interop.Word.Document doc = Globals.ThisAddIn.Application.ActiveDocument;
string result = Path.GetTempPath();
string tmpFileName = Globals.ThisAddIn.Application.ActiveDocument.FullName;
doc.SaveEncoding = Microsoft.Office.Core.MsoEncoding.msoEncodingUSASCII;This code converts my word documents all equations in Images and as it convert in image I can’t show the equation properly in my application.So I tried to convert this equations in MATHML form but I couldn’t solve this. Read More
Can’t Enroll for Microsoft Partner Program
Hi,
I am trying to create my company profile: Veritas Analytica on Microsoft Partner Portal with my company email ID: email address removed for privacy reasons. Upon clicking Send Code for verification, it generates an unexpected error. When we tried to contact support for this enrollment issue, it was not making the option clickable for us.
We got stuck in an endless loop of signing in and out of our work account. Please let us know how we can fill in our company details and get our company enrolled for Microsoft Partner Network.
Best,
Manal Mustafa.
Hi, I am trying to create my company profile: Veritas Analytica on Microsoft Partner Portal with my company email ID: email address removed for privacy reasons. Upon clicking Send Code for verification, it generates an unexpected error. When we tried to contact support for this enrollment issue, it was not making the option clickable for us. We got stuck in an endless loop of signing in and out of our work account. Please let us know how we can fill in our company details and get our company enrolled for Microsoft Partner Network. Best,Manal Mustafa. Read More
Institution Resilience after COVID19
Institution Resilience & Sustainable communities are the major concern now during both COVID & climate crisis. Considering magnitude of significance of issues & challenges, UDYAMA a leaning organization believes in analytics, logic, analysis, reality contact with action, reflection, adaptive research on causes of development challenges in working directly with front line community & multiple stakeholders. During last two and half a decade . udyama| 25 years with community – search (bing.com) – Search
Institution Resilience & Sustainable communities are the major concern now during both COVID & climate crisis. Considering magnitude of significance of issues & challenges, UDYAMA a leaning organization believes in analytics, logic, analysis, reality contact with action, reflection, adaptive research on causes of development challenges in working directly with front line community & multiple stakeholders. During last two and half a decade . udyama| 25 years with community – search (bing.com) – Search Read More
Can you manipulate the contents of a sheet while a Userform is loaded and shown?
This might be a dumb question, but it is the only solution I can think of to my problem.
I have a Userform that takes in a series of range addresses via the refEdit control. One of the tests I run on these addresses is whether values input into a cell throw an error in another cell. If I call this function while my user form is loaded and shown, the user form disappears. However, I don’t think it fully unloads. I usually have to hit the reset key before I re-run the Userform if I want it to work properly.
To see if this was a refEdit control bug, I ran my function with the range addresses as string literals, and it still causes the same issues. So, I don’t think this is from a refEdit control bug. Moreover, when I comment out the lines in the function that write contents to the cells, the function does not crash the Userform. (Neither does the function serve it’s purpose.)
I’m writing contents to cells using the following syntax:
Range(myAddressAsString).Value = MyValue
The only conclusion I can think of to explain the behavior is that you cannot edit cell values while a Userform is running. You can read from them, and I’ve made a few functions that retrieve the contents of cells that do not crash the Userform. But every time I try to write to cells, my Userform collapses.
More details on the actual function are at this discussion. I’ve also included the file with all the Macros there if curious.
This might be a dumb question, but it is the only solution I can think of to my problem. I have a Userform that takes in a series of range addresses via the refEdit control. One of the tests I run on these addresses is whether values input into a cell throw an error in another cell. If I call this function while my user form is loaded and shown, the user form disappears. However, I don’t think it fully unloads. I usually have to hit the reset key before I re-run the Userform if I want it to work properly. To see if this was a refEdit control bug, I ran my function with the range addresses as string literals, and it still causes the same issues. So, I don’t think this is from a refEdit control bug. Moreover, when I comment out the lines in the function that write contents to the cells, the function does not crash the Userform. (Neither does the function serve it’s purpose.) I’m writing contents to cells using the following syntax: Range(myAddressAsString).Value = MyValue The only conclusion I can think of to explain the behavior is that you cannot edit cell values while a Userform is running. You can read from them, and I’ve made a few functions that retrieve the contents of cells that do not crash the Userform. But every time I try to write to cells, my Userform collapses. More details on the actual function are at this discussion. I’ve also included the file with all the Macros there if curious. Read More
Number formatting right alignment
How can I accomplish this? Can numbers be aligned to the left while arrows are aligned to the right within the cells?
How can I accomplish this? Can numbers be aligned to the left while arrows are aligned to the right within the cells? Read More
500 internal server error. Response body sent me here.
Hi,
Our automation that triggers our ADF workflows broke sometime between Friday 4/19 and yesterday. It’s a little hard to tell when because a bunch of stuff broke upstream of there first. But now we’ve cleared that up, and we are getting HTTP 500s consistently. The response bodies ask us to create a thread here:
“An unexpected error has occurred. Please report the x-ms-request-id header value to our forums for assistance or raise a support ticket. Report ‘cb99f358-1d0b-455a-b914-ec9f33164ca4:11:4/25/2024 3:06:14 AM (UTC)’ to our forums for assistance or raise a support ticket.”
That’s what you need, right? It looks to me like the x-ms-requestid and timestamp were helpfully placed in the body for me, but please advise if that’s wrong.
Hi,Our automation that triggers our ADF workflows broke sometime between Friday 4/19 and yesterday. It’s a little hard to tell when because a bunch of stuff broke upstream of there first. But now we’ve cleared that up, and we are getting HTTP 500s consistently. The response bodies ask us to create a thread here:”An unexpected error has occurred. Please report the x-ms-request-id header value to our forums for assistance or raise a support ticket. Report ‘cb99f358-1d0b-455a-b914-ec9f33164ca4:11:4/25/2024 3:06:14 AM (UTC)’ to our forums for assistance or raise a support ticket.”That’s what you need, right? It looks to me like the x-ms-requestid and timestamp were helpfully placed in the body for me, but please advise if that’s wrong. Read More
SQL 2014 error ‘The Primary Filegroup is full’
I need your help to get the exact root cause of the issue “The Primary Filegroup is full” & how to avoid to occur again in the future. Please help on this & suggest better option.
I need your help to get the exact root cause of the issue “The Primary Filegroup is full” & how to avoid to occur again in the future. Please help on this & suggest better option. Read More
Files are duplicated when posting in a secure Teams channel
A couple of weeks ago my client’s Teams started duplicating every file that I posted in a secure channel. That is, I’d write a post, attach a document that was already saved in a Teams folder (via the paperclip icon) and two things happen: 1. The file takes a while to attach as seen by a progress bar, as if it’s uploading; and 2. It immediately creates a duplicate of the document into the parent SharePoint folder (that is, the top level secure channel folder). From there, I’ll end up working in the original document I had saved in the sub-folder and everyone else who accesses the document via the Post, is using the new version in the parent-level folder. Ok, so I logged a ticket with my client’s IT as they do have a very unusual set up for their whole Microsoft environment and to all of us this is a very new issue none of us has heard of before, so they logged a ticket with Microsoft. However, today I tested it in my tenant – and got exactly the same result! This is not a standalone issue – my tenant is set up completely differently to my client’s and I suspect we are not even on the same type of business licence (they’d be on enterprise and I’m just a small business). Not only is this weird but we are going insane trying to keep track of the correct versions and archiving all the duplicates. Has anyone seen this? Any ideas on whether there is a new default setting or something happening on microsoft’s end? And importantly, any idea how to fix this?
A couple of weeks ago my client’s Teams started duplicating every file that I posted in a secure channel. That is, I’d write a post, attach a document that was already saved in a Teams folder (via the paperclip icon) and two things happen: 1. The file takes a while to attach as seen by a progress bar, as if it’s uploading; and 2. It immediately creates a duplicate of the document into the parent SharePoint folder (that is, the top level secure channel folder). From there, I’ll end up working in the original document I had saved in the sub-folder and everyone else who accesses the document via the Post, is using the new version in the parent-level folder. Ok, so I logged a ticket with my client’s IT as they do have a very unusual set up for their whole Microsoft environment and to all of us this is a very new issue none of us has heard of before, so they logged a ticket with Microsoft. However, today I tested it in my tenant – and got exactly the same result! This is not a standalone issue – my tenant is set up completely differently to my client’s and I suspect we are not even on the same type of business licence (they’d be on enterprise and I’m just a small business). Not only is this weird but we are going insane trying to keep track of the correct versions and archiving all the duplicates. Has anyone seen this? Any ideas on whether there is a new default setting or something happening on microsoft’s end? And importantly, any idea how to fix this? Read More
Can we add “duplicate current tab” function in Edge mouse gesture?
It seems like the mouse gesture in Edge don’t have “duplicate current tab” function.
By the way, the current shortcut of “duplicate tab” is not convenient to use for me.
Could tech group consider adding it in mouse gestures.
Thanks a lot!
It seems like the mouse gesture in Edge don’t have “duplicate current tab” function. By the way, the current shortcut of “duplicate tab” is not convenient to use for me. Could tech group consider adding it in mouse gestures.Thanks a lot! Read More
Recording – Copilot Use Cases for PMO – Copilot for Microsoft 365 Starter Series
On Monday, April 22, 2024, we hosted a webinar on Copilot for Microsoft 365, the AI assistant that helps you work smarter and faster. The session featured Microsoft’s Jasmine Hoegh and Helen Guan. Additionally, they were joined by guest speakers Danielle McGahee, Busola Adeniran, and Kara Kimble-Williams. In this webinar, we focused on some use cases for the project management office (PMO) and how Copilot can help project managers with tasks such as brainstorming, communication, planning, reporting, and more. We also heard from some guest speakers who shared their experience and feedback on using Copilot for their projects. Here are some of the key takeaways from the webinar.
What is Copilot for Microsoft 365 and how does it align with PMO practices?
Copilot for Microsoft 365 is an AI assistant that works alongside you and through all of your applications such as Word, Excel, PowerPoint, Outlook, Teams, and many more, within your Microsoft ecosystem.
Copilot adapts to your preferences, goals, and context, and then helps you achieve much more than before. It is AI-generated and human-customized.
Copilot can help project managers adhere to the PMI talent triangle, which consists of technical project management, leadership, and strategic and business management.
Copilot can help project managers with various tasks across the project lifecycle, such as brainstorming, communication, planning, execution, monitoring, controlling, and closing.
Copilot does not replace human judgment or decision-making. Project managers still need to critically evaluate the suggestions, tailor them to their specific context, and approve any changes before implementing.
Copilot does not handle any sensitive or confidential information, such as proprietary data or personal information. It also does not predict any future events or outcomes with certainty.
What are some use cases for Copilot for PMO?
Copilot can help project managers with brainstorming and communication. For example, Copilot can suggest ideas for a project based on a prompt, categorize and organize the ideas, and summarize them in a loop component that can be inserted into an email, a Teams message, a OneNote page, or a Word document.
Copilot can help project managers create a project plan or a project charter based on a file or a prompt. For example, Copilot can generate a summary, a rationale, a project manager, some project goals, a budget, and a timeline for a project based on a Word document that contains some information about the project.
Copilot can help project managers create a presentation from a file or a prompt. For example, Copilot can create a kickoff deck based on a project charter document, and include an outline, some slides, and some slide notes.
Copilot can help project managers respond to RFPs faster and more efficiently. For example, Copilot can summarize and analyze a large RFP document, and highlight the key requirements, risks, assumptions, and deliverables.
Copilot can help project managers improve customer meetings and engagement. For example, Copilot can schedule a meeting with a customer based on a presentation file, and include a summary, an agenda, and an attachment in the meeting invite.
Copilot can help project managers collect and share feedback. For example, Copilot can create a survey or a poll based on a prompt, and insert it into an email, a Teams message, or a PowerPoint slide.
Resources:
Slide Deck in PDF Format
Microsoft Copilot Scenario Library – Microsoft Adoption
Generative AI Overview for Project Managers (pmi.org)
We hope you enjoyed this webinar and learned something new about Copilot for Microsoft 365 and how it can help you as a project manager. Thank you for joining us and have a great day.
You can see the rest of the upcoming Copilot for Microsoft 365 Starter series here.
Thanks for visiting – Michael Gannotti LinkedIn
Microsoft Tech Community – Latest Blogs –Read More
Issue with Windows 11 Insider Preview 26058.1000 (ge_release)
Does anyone know how to resolve the Windows 11 Insider Preview 26058.1000 (ge_release) update, error watch_dog
Does anyone know how to resolve the Windows 11 Insider Preview 26058.1000 (ge_release) update, error watch_dog Read More
Can’t print couple columns
I downloaded a CSV file and saved it as a .xlsx file format. There are two columns that won’t print and I need to have them when printed. Does anyone know how to get them to print?
Thanks in advance!
I downloaded a CSV file and saved it as a .xlsx file format. There are two columns that won’t print and I need to have them when printed. Does anyone know how to get them to print?Thanks in advance! Read More
Office stuck on loading profile unless you kill background office product
Hello all,
According to MS, this bug was fixed back in 2019 (see below) but my org is having issues with Outlook getting stuck at the “loading profile” stage. I am aware of the workaround (closing background 365 processes) but I was hoping there was a more permanent solution to minimize calls about this issue.
Troubleshooting Attempts:
Reboot (works but doesn’t solve the problem)
Repair Outlook/365 (works, but not every time)
Closing Background 365/Office Processes (been the current solution with a constant success rate)
Not happening to all users.
Hello all,According to MS, this bug was fixed back in 2019 (see below) but my org is having issues with Outlook getting stuck at the “loading profile” stage. I am aware of the workaround (closing background 365 processes) but I was hoping there was a more permanent solution to minimize calls about this issue. Troubleshooting Attempts:Reboot (works but doesn’t solve the problem)Repair Outlook/365 (works, but not every time)Closing Background 365/Office Processes (been the current solution with a constant success rate)Not happening to all users. Read More
Signature template in Exchange Online
Hi ya’ll. I’m trying to move from Zoho to Exchange, and I’m having trouble figuring out how to configure an org wide signature template like I can in Zoho Mail. The signature uses variables that we use to insert someone’s name, email, extension, etc. in the signature. Is this available in Exchange Online, and if so, how would this be accomplished?
Hi ya’ll. I’m trying to move from Zoho to Exchange, and I’m having trouble figuring out how to configure an org wide signature template like I can in Zoho Mail. The signature uses variables that we use to insert someone’s name, email, extension, etc. in the signature. Is this available in Exchange Online, and if so, how would this be accomplished? Read More
Another endless cycle of employment verification rejection
I have been going at this for the better part of two weeks. The same as everyone else. Generic responses saying the documents I submitted do not match the accepted document types. Ironically, I select the document type from the drop down list and provide exactly what is asked for. Here is where I am at:
Went through the entire process and uploaded documents 3 times. Still rejected.Opened a support ticket 2404170040008375. Ticket took a week to be closed and the only response provided was: The application to join the program was rejected because it failed Microsoft standards review. At this point, we are unable to provide any further details. We are closing this ticket as restricted internally.Started the verification process again. This time I changed my operating as company name to my numbered corporation name. Still rejected. Sent a screenshot and a URL showing my company website with all the requested information on it as identified in the document types. This too was rejected.
Sadly I provided the proof of purchase for my domain. They wouldn’t accept it because I bought it under my personal name (newsflash, I registered the business after I bought the domain). I also cannot update my whois record to include my company name. It is a .ca registration and for reasons that I cannot understand half of the words in my company name are restricted. Words such as solutions, ontario and inc. I have sent articles of incorporation, government documents, everything but my DNA. Still rejected.
I am very willing to work with Microsoft to get this sorted out, but I cannot unless they tell me what is failing! Please help me find the path forward. Somebody has to know what it is!
And SHAME on you Microsoft. This has been a problem since last year according to all the posts in this forum. Fix it!
I have been going at this for the better part of two weeks. The same as everyone else. Generic responses saying the documents I submitted do not match the accepted document types. Ironically, I select the document type from the drop down list and provide exactly what is asked for. Here is where I am at: Went through the entire process and uploaded documents 3 times. Still rejected.Opened a support ticket 2404170040008375. Ticket took a week to be closed and the only response provided was: The application to join the program was rejected because it failed Microsoft standards review. At this point, we are unable to provide any further details. We are closing this ticket as restricted internally.Started the verification process again. This time I changed my operating as company name to my numbered corporation name. Still rejected. Sent a screenshot and a URL showing my company website with all the requested information on it as identified in the document types. This too was rejected. Sadly I provided the proof of purchase for my domain. They wouldn’t accept it because I bought it under my personal name (newsflash, I registered the business after I bought the domain). I also cannot update my whois record to include my company name. It is a .ca registration and for reasons that I cannot understand half of the words in my company name are restricted. Words such as solutions, ontario and inc. I have sent articles of incorporation, government documents, everything but my DNA. Still rejected. I am very willing to work with Microsoft to get this sorted out, but I cannot unless they tell me what is failing! Please help me find the path forward. Somebody has to know what it is! And SHAME on you Microsoft. This has been a problem since last year according to all the posts in this forum. Fix it! Read More
somebody pls give me 100000 reward binge points
anybody in the whole wide world. pls give me a 20000microsoft reward points pleeeasssee.
someone scammed me and other people hacked me because i had 700 points while i was saving
for a robox robux gift card and fortnite coins now i am broke pls give back my pointss
anybody in the whole wide world. pls give me a 20000microsoft reward points pleeeasssee. someone scammed me and other people hacked me because i had 700 points while i was saving for a robox robux gift card and fortnite coins now i am broke pls give back my pointss Read More
Key announcements for AKS from KubeCon Europe 2024
At KubeCon Europe 2024, we showed how Azure and Kubernetes can help you build and deploy intelligent applications. Even if you couldn’t visit us at the Microsoft booth or attend the conference sessions, you can read about all the exciting ways we’re making Azure Kubernetes Service (AKS) the best destination for all things cloud-native—including the latest AI and machine learning (ML) applications. With enhancements to security, performance, networking, observability, and more, AKS provides even more platform-as-a-service benefits on top of a smoother onboarding experience for a great end-to-end developer experience.
Powering AI, ML, and compute-intensive workloads
Principal PM Lead for AKS Jorge Palma gave the keynote address, where he explored what AI can do for your platform and how to balance cost and security. Open source tools can give you an advantage, and the new AI toolchain operator (KAITO) add-on for AKS is now in preview. KAITO simplifies the experience of training and inferencing for open-source large language models (LLMs). Using the Karpenter node autoprovisioning functionality, KAITO helps you run AI workloads more cost-effectively by provisioning graphical processing units (GPUs) right when you need them. In other GPU news, AKS now supports Windows GPUs, enabling you to run compute-intensive workloads on Windows nodepools.
As the number of Kubernetes clusters grows from hundreds to thousands, you need a way to efficiently manage your platform. We continue to work with the open-source community to extend fleet workload orchestration. With Azure Kubernetes Fleet Manager, you can now schedule workloads to clusters based on new heuristics such as cost and availability of resources. You can also customize cluster-specific resources by targeting groups of clusters through resource override.
We’re proud to work with the open-source community on these enhancements. We also contributed to OpenTelemetry on another big milestone: HTTP semantic conventions declared stable.
Making Kubernetes easier to adopt
Misconfigurations are the bedbugs of Kubernetes deployments. To make life easier for dev teams, we added safety guardrails to AKS based on Azure Policy controls. You can now configure Deployment safeguards (preview) that apply Kubernetes best practices and notify you of misconfigurations in your AKS cluster. You can even enforce compliance and deny deployments that don’t follow best practices.
If you’re a Windows developer, you can now take advantage of Windows Gen 2 VMs and custom kubelet configuration. With these features, you can expect your Windows workloads to run on AKS with better performance, security, and compatibility. Gen2 VMs on Windows are supported for WS2022 only.
We’ve also made it easier to track the everyday costs associated with running Kubernetes clusters. The cost analysis add-on for AKS is now generally available. You can use Azure portal to view costs with Kubernetes-specific levels of granularity, such as by namespace, pod, and cluster in addition to Azure asset categories.
Improving security and networking
We announced a host of new security features at KubeCon Europe 2024, starting with Trusted launch (preview). It improves the security of Gen 2 VMs by protecting against advanced and persistent attack techniques.
In addition, the security improvements in the latest Kubernetes 1.29 release (Mandala) are now available to preview in AKS. You can check out ReadWriteOncePod, PersistentVolume access mode, CSI Node Expand Secret feature, and more.
Diving deep into network management, we added Azure CNI static block IP allocation for AKS (preview). Now Azure CNI can dynamically allocate pod IPs from a subnet separate from the subnet hosting the AKS cluster. That means better IP utilization, performance, scaling, and policy support.
In related CNI news for Linux users, AKS now supports dual stack networking. Azure CNI Overlay allows nodes and pods to have both IPv4 and IPv6 addresses, enhancing connectivity and application compatibility.
AKS also provides more control over a cluster’s network security group (NSG). You can now directly configure allowed host ports in your node pool settings—you specify the allowed host ports on your node pools and add these pools to an Application Security Group. Also, nodes in a node pool can now receive their own dedicated public IP addresses. You can use instance level public IP tags to choose how your traffic routes between Azure and the Internet. And if your services require direct access to a node’s public IP without an intermediary like a load balancer, host ports can now be automatically assigned for pod workloads.
Adding more scalability and observability
We’re always looking for ways to empower developers to do more, and now AKS supports more scalability, performance, and observability in the control plane. In the Standard tier, you now have the performance you need to run larger workloads—anything from batch processing jobs and simulations to ML and multitenanted clusters. Standard tier supports up to a maximum of 5,000 nodes and 100,000 pods per cluster.
If you want to track all those workloads using Prometheus metrics, now you can. Azure Monitor managed service for Prometheus enables you to collect and analyze metrics at scale based on the Prometheus project from the Cloud Native Computing Foundation. This service debuted last year in 26 regions and is now available in 13 additional public Azure regions.
AKS supports Kubernetes Logs metadata as well. You can query objects using labels and selectors and perform bulk actions on specific subsets, like consumption or updates.
For services that use a load balancer, you can now switch the inbound pool type in AKS for greater efficiency in provisioning VMs. This improvement is particularly beneficial for clusters with large numbers of nodes.
Managing storage volumes with Azure Container Storage
Last year at KubeCon North America, we released the preview of Azure Container Storage, a fully managed, cost-efficient volume orchestration service built natively for Kubernetes. This year, we have announced notable enhancements that improve costs and simplify tedious tasks, such as manually managing volumes.
Azure Container Storage can help you avoid scaling bottlenecks and other challenges that come with running stateful container applications—including the cost of running persistent storage. Check out the overview.
Learn more
For more information about working with AKS:
Get started with Azure Kubernetes Service
Watch the recordings from our Azure Day with Kubernetes event in Paris
Get a copy of Kubernetes Best Practices, Second Edition
Microsoft Tech Community – Latest Blogs –Read More
New bookings redirects people who sign in with a personal account to LIVE.COM and give error
When I send out my bookings page to the public, and people who get it are forced to select guest or sign in – if they sign in with a personal microsoft account, they are re-directed to LIVE.COM and it displays the error message that they don’t have access “bookings with me”.
i understand that personal microsoft accounts can’t have bookings with the personal account, but I’m using a work account, sending out the public for them to create a booking with me. Why is this redirecting them after sign-in to LIVE.COM instead of landing them on my public bookings page.
I know they could know to sign is as guest, but then the process requires them to provide an email, and then requires them to verify that email with a code before making the booking. (because they aren’t logged in as anyone).
Please have someone investigate that redirect to LIVE.COM – that’s dumb.
When I send out my bookings page to the public, and people who get it are forced to select guest or sign in – if they sign in with a personal microsoft account, they are re-directed to LIVE.COM and it displays the error message that they don’t have access “bookings with me”. i understand that personal microsoft accounts can’t have bookings with the personal account, but I’m using a work account, sending out the public for them to create a booking with me. Why is this redirecting them after sign-in to LIVE.COM instead of landing them on my public bookings page. I know they could know to sign is as guest, but then the process requires them to provide an email, and then requires them to verify that email with a code before making the booking. (because they aren’t logged in as anyone). Please have someone investigate that redirect to LIVE.COM – that’s dumb. Read More
Changing default TCP window size using registry key
Using this registry DWORD value – TcpWindowSize in HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters to change the default TCP Window Size does not seem to improve the perfromance of the throughput. It seems this reg key doesn’t work any more.
Using this registry DWORD value – TcpWindowSize in HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters to change the default TCP Window Size does not seem to improve the perfromance of the throughput. It seems this reg key doesn’t work any more.
https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/description-tcp-features#tcp-window-size Read More
Allow only specific domain to email a distribution group
I’d like to allow only a specific external sender domain to send email to our distribution group (DG) in M365. (The DG is actually a mail-enabled security group synced from AD.) I see that a mail-flow rule doesn’t process until after the DG is expanded, so can’t match the DG as the recipient. I see that the DG has an attribute dLMemSubmitPerms to specify who’s permitted to send to the group, but I think that is only for objects in AD and wouldn’t be able to use an external domain? When I try to modify dLMemSubmitPerms I get an error anyway.
So how can this be done?
I’d like to allow only a specific external sender domain to send email to our distribution group (DG) in M365. (The DG is actually a mail-enabled security group synced from AD.) I see that a mail-flow rule doesn’t process until after the DG is expanded, so can’t match the DG as the recipient. I see that the DG has an attribute dLMemSubmitPerms to specify who’s permitted to send to the group, but I think that is only for objects in AD and wouldn’t be able to use an external domain? When I try to modify dLMemSubmitPerms I get an error anyway.So how can this be done? Read More