Microsoft Q&A

Questions

Discover questions that will help you on every step of your technical journey.

238,700 questions

Sort by: Updated
0 answers

Pack URI not in the right format

I have a ResourceDictionary in a file that I want to incorporate in my applications but I cannot get the pack uri to work. Here is my Application XAML: <Application .... <Application.Resources> <ResourceDictionary> …

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
600 questions
asked 2023-03-23T15:33:58.5+00:00
Roger Schlueter 996 Reputation points
edited the question 2023-03-25T09:02:43.7966667+00:00
Roger Schlueter 996 Reputation points
0 answers

How to get power key current state pressed or not in C#

I am creating WinUI3 app i want to handle some events. how to know whether power key status of pressed or not I want to avoid the condition to go inside if the power key pressed. please suggest.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,550 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
470 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
1,980 questions
asked 2023-03-06T13:31:28.7866667+00:00
Sachi 221 Reputation points
edited a comment 2023-03-25T08:59:59.12+00:00
Castorix31 68,666 Reputation points
1 answer

SQL ARM template is failing

Hi I tried to deploy ARM template but it is failing at SQL db server , please see below error and suggest what needs to be done to fix , what exactly needs to be done to fix this. Please suggest

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
745 questions
asked 2023-03-24T07:31:37.56+00:00
sns 8,196 Reputation points
edited a comment 2023-03-25T08:57:14.7133333+00:00
Raviraj Nallasivam 0 Reputation points
0 answers

Unable to deploy Azure OpenAI

I have access to Azure OpenAI. But I am unable to deploy. It says- No models are available. Please check your acess or try again later.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
95 questions
asked 2023-03-25T08:55:46.4666667+00:00
SREERUPA BISWAS 0 Reputation points
0 answers

How to disable locate device for some admins?

Hi experts, We need to add some users to be Intune admin, but for security reason, we don't want these users to be able to use the locate device option. How can this be achieved?

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,135 questions
asked 2023-03-25T08:54:46.3033333+00:00
zaneb hayes 0 Reputation points
1 answer

VB.NET 2019 call WritePrivateProfileString , but doesn't work

I using WritePrivateProfileString function call, but doesn't work. Is any one know what's wrong in this code call. Imports System.Runtime.InteropServices Imports System.Text Public Class Form1 Public Declare Function GetPrivateProfileString Lib…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,968 questions
asked 2023-03-25T07:42:10.1133333+00:00
Jack Tsai 0 Reputation points
commented 2023-03-25T08:52:15.45+00:00
RLWA32 30,101 Reputation points
1 answer

TLS exchange FAILS between Azure cosmos db and client Node 18.14.2 openssl 3.0.8+quic

Hi, I have setup Azure cosmos db and written a simple conn.ts script to create document in cosmos db. I am using Node 18.14.2 which has built-in openssl 3.0.8+quic in it. I am getting an error as shown below: **The same code works fine with Node version…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
978 questions
asked 2023-02-22T18:51:43.3366667+00:00
Isha Padmanaban 0 Reputation points
answered 2023-03-25T08:48:29.93+00:00
erastus iilonga 0 Reputation points
0 answers

how to fix electron program GPU process isn't usable. Goodbye.

Move the electron program to the C drive or use -no-sandbox to work normally

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
4,076 questions
asked 2023-03-25T08:47:58.7566667+00:00
1231 huoyan 0 Reputation points
1 answer

Query write

Am trying to update the same table by shuffling the column data, no condition to rearrange. I just want to make sure that the ID does not match with same car name again. I tried my best with self join, Lead and LAG function still no luck. any help…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
9,087 questions
asked 2023-03-24T21:00:58.6466667+00:00
DBA 21 Reputation points
answered 2023-03-25T08:45:58.0466667+00:00
Viorel 88,566 Reputation points
0 answers

How to config ClickOnce in my application?

Hi, I'm an application developer on Windows and am having trouble with the ClickOnce on some computers. My application needs to be given hard drive access to download some files, and every time the user installs it or opens it, their Windows shows a…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,652 questions
Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
357 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,550 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
4,076 questions
asked 2023-03-25T08:39:55.0133333+00:00
365 timviec 0 Reputation points
0 answers

error when try to get values from object parameter 'object' does not contain a definition for 'employeeID'

I working on blazor web application server side by csharp . I face issue i can't get values of properties employee id and department code from object parameter to insert value on table I get compile time error when try to get value for property employee…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,550 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,825 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
880 questions
asked 2023-03-25T06:27:34.5266667+00:00
Ahmed Salah Abed Elaziz 85 Reputation points
commented 2023-03-25T08:27:40.41+00:00
Ahmed Salah Abed Elaziz 85 Reputation points
2 answers

How to reduce cost of azure database for mysql , created for wordpress

I have created a resource for hosting my wordpress website on azure. From marketplace i searched for wordpress and on first option wordpress was present in that search and i selected that option and created resource for wordpress. Now i am creating my…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
468 questions
asked 2022-01-22T18:38:04.78+00:00
Muhammad Qasim 41 Reputation points
answered 2023-03-25T08:23:42.53+00:00
Hendrik Kruger 0 Reputation points
1 answer

While upgrading the AKS cluster version, we are getting the error as: Failed to save Kubernetes service 'aks-crushsftp-prd'. Error: Pre-allocated IPs 333 exceeds IPs available 246 in Subnet Cidr 10.56.27.0/24, Subnet Name ciosftp-prd-eastu2-aks.

While upgrading the AKS cluster version, we are getting the error as: Failed to save Kubernetes service 'aks-crushsftp-prd'. Error: Pre-allocated IPs 333 exceeds IPs available 246 in Subnet Cidr 10.56.27.0/24, Subnet Name ciosftp-prd-eastu2-aks.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,547 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
1,270 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,201 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
1,673 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
4,894 questions
asked 2023-03-25T08:02:17.5733333+00:00
Krishna satish Polasi Venkata 20 Reputation points
answered 2023-03-25T08:17:51.7666667+00:00
Andrei Barbu 1,366 Reputation points Microsoft Employee
2 answers

Microsoft Support and Recovery Assistant could not identify my problem due to OAuth token issue

Hello all, Sorry if I'm not in the right place. Give me link to the right one if so. I don't see a option for "Outlook". I'm having trouble with my Outlook profile on Windows 11. Suddenly, I can no more open Outlook. The splash screen freeze on…

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
4,076 questions
Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
486 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
549 questions
asked 2023-03-24T20:32:31.1933333+00:00
Gianfranco Viscomi 0 Reputation points
edited an answer 2023-03-25T08:14:28.18+00:00
Gianfranco Viscomi 0 Reputation points
0 answers

Microsoft Azure for Students says that I am not elligible for a free student plan

Hello, I have been trying to claim my Azure for Students subscription that should be available to me considering I am a student coming from an accredited school who is over 18 years old. However, no matter what I do, after I try to log in, the page says…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
246 questions
Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,558 questions
asked 2023-03-25T08:13:48.7066667+00:00
Franziska Wolf 0 Reputation points
1 answer One of the answers was accepted by the question author.

Remove Lines From Notepad and Write Data in New New Notepad With Group Key Repeated With Each Lines

Good Morning Great Minds ! I need Help to read Data From Notepad where a specific string(Group Key) repeated each page. I need To write Group key with each line of strings. in OriginalFile.txt i Removed unwanted Strings and Make a new file after remove…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,968 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 questions
asked 2023-03-24T06:43:10.2233333+00:00
Amit kumar Yadava 41 Reputation points
accepted 2023-03-25T08:08:08.95+00:00
Amit kumar Yadava 41 Reputation points
0 answers

Conditional access policy lockout

Yesterday we rolled out some Azure conditional access policies, but unfortunately there was a miss-configuration in them so now none of our users can access any system which uses MS SSO authentication. We did have exclusions to these rules which…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,547 questions
asked 2023-03-25T08:03:51.7633333+00:00
Justin Tombs 0 Reputation points
1 answer

cannot find Virtual Machine in 'Compute' section of 'Create a resource'

in unit 7 we are given the task to create a resource. instructed as follows: In this task, you’ll create a virtual machine using the Azure portal. Sign in to the Azure portal. Select Create a resource > Compute > Virtual Machine > Create. i…

Azure Fundamentals
Azure Fundamentals
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Fundamentals: Foundational knowledge about Microsoft products.
128 questions
asked 2023-03-25T07:35:40.1666667+00:00
aziz ahmed 0 Reputation points
answered 2023-03-25T07:51:46.1666667+00:00
TP 17,661 Reputation points
1 answer

NET MAUI - Keep keyboard focused on ListView update

I have a ListView with an ObservableCollection of Database Entries. When I update the Observable collection the focus of the Entry get lost and the keyboard disappears. Even when i set the focus afterwards manually the keyboard does not appear. Thats my…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,550 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,070 questions
asked 2023-03-25T02:46:35.54+00:00
Leon Schimmel 0 Reputation points
answered 2023-03-25T07:49:21.4366667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,281 Reputation points Microsoft Vendor
1 answer

The press has announced that Microsoft had added an AI in Office, following the launch of Chat.GPT. It is called Pilote. I would love to activate it on my Microsoft 365 updated a week ago.

How does one activate Azure AI ? How come was it called Pilote by the press, folloing your press conference on March 14th ?

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
486 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
95 questions
asked 2023-03-24T22:44:16.64+00:00
Michel PhamHuuTri 0 Reputation points
answered 2023-03-25T07:48:45.2933333+00:00
Vasil Michev 66,591 Reputation points MVP