How to get GPS location from built-in surface pro GPS without internet connection
I need to be able to get the gps location from the built-in gps on a surface pro tablet. This is a WPF application and all my research says to use the GeoCoordinateWatcher class in System.Device.Location. This only seems to work when the tablet is…
SQL Server Backup and Restore
Hi All, Currently we are taking two backups for the same DB - one from sql agent (custom script without copy_only option) and another one from third party backup tool (without copy_only). The backup strategy is same for both. .. Full backup: every day…
I need to save the correct root certificate for mutual tls authentication in my device. I tried to save it using openssl, then the signature verification fails.
Hi! I need to save the correct root certificate for mutual tls authentication in my device. I tried to save it using openssl, then the signature verification fails. Unfortunately, I did not find the magic "download certificate" button
Reading credentials from azure failed: DefaultAzureCredential failed to retrieve a token from the included credentials.
0 I'm trying read azure default credentials but fails with following error DefaultAzureCredential failed to retrieve a token from the included credentials. 04:54:12.161 lrr-data-service-perf-green-x Attempted credentials: EnvironmentCredential:…
Query on SQL Server HA and DR
Hi All, we have configured sql server always on failover cluster (two nodes) and both DB nodes are hosted on same DC. Application is using Listener IP to connect DB. HA: Avoid service impact during planned or unplanned events DR: Business continuity As…
Using Azure B2C Custom policy email verification with Sendgrid what is lockout period if exceed number of retries?
We are using Azure B2C custom polices. We use Sendgrid to verify users' emails. Users enter their email address in a flow and we send an email containing a 6 digit OTP code to that address. Users then enter the OTP into the flow to confirm the…
Troubleshooting SQL server performance on VMWare
Hi, I am experiencing slowness issues after migrating a SQL database to a SQL server installed on a VM running on VMWare hardware. It was working fine on a legacy server. I have observed many CXPACKET and CXCONSUMER waits. There is enough CPU, and…
Broken hosting - vite.config.js missing host: true
Is there a typo in this tutorial? This was working for me as I progressed through page 3 - I had the container hosting the SPA on port 3000. Then on page 5 when setting up the mock data in db.json to be hosted on port 5100 it instructs to edit…
How to check if an audio file is being played by programs like video players or audio players using C# as console-based app?
I want to check if an audio file is being played by audio or video player programs or by other programs. Since I don't have any knowledge or somehow solid knowledge about how to do it, I hope, you all(Microsoft Q&A community) will help me to do…
PowerShell - Get-Localuser PasswordExpires
Hi Guys How do I check if the local user has "password expires" true or false? Thank you very much in advance
SQL Permissions
Hi, I would like to understand different database level permissions like db_owner, db_datareader etc. I am trying to get the SQL commands allowed for the these roles. Also I would like to map users for these roles for developers, QA engineers etc For eg…
Visual Studio C# Windows Forms Application touch screen exception error
I have Windows Forms Visual Studio Project; I have added the code to be able to use a finger instead of the mouse on touch screen monitor. When I use a mouse, everything is working, but when I use a finger to top and double top on the screen also working…
Databricks Spark Scala: RaiseError throws type error
Hello, I am facing an issue in Databricks 14.3-LTS within a Scala notebook. When I try to raise an Exception using Spark Catalyst with the following Scala code: import org.apache.spark.sql.types.{StringType, DateType} val errorMessage =…
Error message: 'True' value not allowed for property isSftpEnabled.
Hello, I am having difficulty enabling the SFTP feature for our storage account. This feature was working fine on Monday but now we are receiving an error message. We have not made any changes to our account. Can someone help me troubleshoot this…
Error installing SQL Server 2019
Can someone advise why I am getting this error and how I can fix it? Thank you
Access to Azure Keyvault inside Azure Container Instance WebApi
I would like to retrive the keyvault secrets using managed identity in web Api. Creates Web APi with DefaultAzureCredential Able to retrive the data using aboe code. Built image and pushed into Azure container registry Created azure container…
Could not register the resource provider "Microsoft.Compute"
I cannot register the resource provider "Microsoft.Compute". All the other resource providers that we registered worked fine. Error - Subscription Registering Resource Provider 'Register' operation check timed out on Resource Provider…
Logging into Azure portal with the usual credentials now results in "Limited or No Access"
TLDR: Can't seem to log in to Azure Portal with primary user account -- indicates Limited or No Access. Hello. In the course of troubleshooting some recurring billing problem, I have really messed up my account. Specifically, when I now log into…
How to upgrade from Windows 10 to Windows 11 in all existing Azure Virtual Machine
We need to upgrade all existing Azure Virtual Machines from Windows 10 to Windows 11. Therefore, we want to know the best way to upgrade Azure virtual machines from Windows 10 to Windows 11 without affecting user data. Please provide guidance for this…
Get Country code and mobile number from Azure ADB2C MFA number used to get OTP separately in token claim using Custom Policy
I am using Azure Adb2c Custom Policy. I need to get Country code and mobile number from Azure ADB2C MFA number used to get OTP separately in token claim. I can get them as a single unit for e.g. (+91345234223) but I want this as (+91 345234223) with a…