Microsoft Q&A

Questions

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

301,944 questions

Sort by: Updated
1 answer

Web API on dependency injection

How can I check if a record exists in the database before performing operations like editing or deleting it in a .NET Core Web API, considering the requirement to add a private method for this purpose?

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
256 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,710 questions
asked 2023-11-13T08:33:16.2833333+00:00
Mogomotsi Motlhasedi 20 Reputation points
answered 2023-11-14T16:56:59.2566667+00:00
Bruce (SqlWork.com) 46,806 Reputation points
1 answer

How to implement silent login/authorization/authentication REST calls for testing azure functions in Github deployment workflow?

I am working on a github workflow deployment script for the azure functions described here: https://learn.microsoft.com/en-us/azure/api-management/howto-protect-backend-frontend-azure-ad-b2c In addition to Azure Active Directory (AAD) Authentication, I'm…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,626 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,316 questions
asked 2023-10-30T20:10:08.3133333+00:00
Siegfried Heintze 1,711 Reputation points
commented 2023-11-14T16:56:28.53+00:00
Siegfried Heintze 1,711 Reputation points
1 answer

Unknown Source apk automatically uninstalling on Fully-Managed Android Enterprise

Hello, I have been having an issue with getting an unknown source apk file to stay on my device. I have a restriction policy to allow "unknown source apps" however after installing the app will be removed from the device with a message saying,…

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
3,585 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
184 questions
asked 2023-08-18T14:16:24.1366667+00:00
Brandin Yoder 0 Reputation points
edited a comment 2023-11-14T16:54:14.1766667+00:00
Simon Kohler 0 Reputation points
1 answer

How can I create Azure DevOps task off of bugs from Azure Monitor logs

How can I create Azure DevOps task off of bugs from Azure Monitor logs? I have found this document: https://zimmergren.net/easily-create-tickets-from-azure-monitor-to-azure-devops-or-github/ But it doesn't seem like it works please advise.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,437 questions
asked 2023-11-10T14:14:27.02+00:00
Peter Wilcox 1 Reputation point
commented 2023-11-14T16:54:12.1+00:00
SwathiDhanwada-MSFT 14,021 Reputation points
1 answer

Connect Microsoft Graph in Azure Automation

Hi There, I want to run a powershell script on azure automation, but it requires to connect to Microsoft graph. I tried in many different ways, but it gives me errors. Is it possible to do this? What is the correct way? Thank you,

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
979 questions
asked 2023-11-13T14:24:52.8633333+00:00
João Ramos 0 Reputation points
commented 2023-11-14T16:53:46.46+00:00
João Ramos 0 Reputation points
1 answer

PS Cmd to delete emails within the Deleted Items folder, for an on-prem Exchange server

Hi I am looking for a cmd to delete any email located in the deleted items of an on-prem mailbox. I only have the cmd to delete the dumpster emails Thanks

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,488 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,960 questions
asked 2023-11-14T15:46:53.26+00:00
Patr_UK 20 Reputation points
answered 2023-11-14T16:50:35.7266667+00:00
Vasil Michev 83,816 Reputation points MVP
0 answers

How to collect the JSON log file to Log analytics workspace custom table using DCR?

I will collect the log file (format JSON) to Log analytics workspace custom table based Azure monitor DCR, but the custom table some column is null.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,437 questions
asked 2023-11-14T15:58:54.41+00:00
Jie Yin 60 Reputation points
commented 2023-11-14T16:50:21.55+00:00
Chandra Mohan Hundigam Venkat 11 Reputation points
2 answers

ADF throwing 403 error while copying

Hi, I have Azure synapse analytics setup with private endpoint and I am running a ADF pipeline but it throws the error: {     "errorCode": "2200",     "message":…

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
8,345 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
3,732 questions
asked 2023-09-29T17:10:11.98+00:00
Rajaniesh Kaushikk 466 Reputation points
commented 2023-11-14T16:49:50.8566667+00:00
Evan Oyler 0 Reputation points
0 answers

Azure Data Lake Storage Gen2: BlobContainerClient.UploadBlob

I am using BlobContainerClient.UploadBlob to upload files to ADLS Gen2 Storage Account. In the below scenario If we upload files from two machines with uploadblob API, it has to create directories 2023/11/12/05. When both the machines are attempting…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,036 questions
Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,174 questions
asked 2023-11-14T16:48:23.4633333+00:00
Venkatesh Bandaru 21 Reputation points Microsoft Employee
0 answers

How do I set the correct clock for VDI for an individual user?

Hello, I have a user whose VDI clock keeps setting back to CST when we change to EST. The server and VDI pool is set to the correct clock but this user is not able to retain the correct time zone. Any help would be appreciated. Thanks.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,226 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,233 questions
Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
275 questions
asked 2023-11-14T16:47:25.9633333+00:00
Smita Medhi 0 Reputation points
1 answer One of the answers was accepted by the question author.

SQL query to retrieve information on user devices based on user activity

hello, I require an SQL query to retrieve information about user devices based on user activity. This query should provide details on how many devices each user has logged into and used.

Microsoft Configuration Manager
asked 2023-11-13T16:54:18.5066667+00:00
Kevin E 80 Reputation points
accepted 2023-11-14T16:45:17.8366667+00:00
Kevin E 80 Reputation points
0 answers

Fired:Sev2 Azure Monitor Alert Backup Failure.

One of our users copies Outlook messages over to a share on our 2022 Server. She does this by dragging and dropping the files from Outlook into a folder. Some of these files are replies and so the subject line will start with "Re:". On the…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
613 questions
Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,020 questions
asked 2023-11-14T16:44:42.4366667+00:00
Jim 231 Reputation points
0 answers

Restrict Ability to Modify Functions

We have developers that need to be able to view functions and potentially modify them. However, it's preferred that they do not have the ability to change functions, only view/read them, unless it's a necessity. We have PIM so they could self-elevate…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
701 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,626 questions
Microsoft Entra
asked 2023-11-14T11:03:05.72+00:00
jamesH 0 Reputation points
commented 2023-11-14T16:43:30.58+00:00
JananiRamesh-MSFT 14,216 Reputation points
0 answers

Error code "Count [24]: The specified key attributes 'msdyn_name' are not defined as keys for entity 'msdyn_sustainabilityorganizationalunit" How do I solve it?

Hi, I have been trying to import sample data in to Microsoft Sustainability Manager. Unfortunately I receive this error code. "Count [24]: The specified key attributes 'msdyn_name' are not defined as keys for entity…

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
739 questions
asked 2023-11-14T16:43:21.73+00:00
Linus Lindh 0 Reputation points
2 answers

Unable to select existing metadata database when creating Azure Data Sync Group

Hi, I have recently encountered a bit of an odd issue that I'm not quite sure how to rectify. We originally had one subscription with resources for our dev, test and production environment; We have two sql databases on the same sql server per…

Azure SQL Database
asked 2023-11-13T17:40:59.63+00:00
Natasha Lisle 0 Reputation points
commented 2023-11-14T16:41:55.5+00:00
GeethaThatipatri-MSFT 23,282 Reputation points Microsoft Employee
0 answers

User Access Url not working for the SAML application onboarded using Graph Api

Hi Team, When I'm creating an application through Graph API and then trying to access the user access url it is giving the below error. …

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,316 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
8,887 questions
asked 2023-11-14T16:23:44.1933333+00:00
edited the question 2023-11-14T16:40:50.95+00:00
MuthuKumaranMurugaachari-MSFT 17,686 Reputation points
0 answers

Azure - EASM API - Get Snapshot Metric - External Attack Surface Management

Attempting to interactive with the GetSnapshot API to pull out attack insight metrics from EASM in Azure. This issue is the list of available 'metrics' has not been published so we've got no idea what to query with the API. The only one I can find is…

Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,020 questions
Microsoft Defender for Cloud Apps
Microsoft Defender for Cloud Apps
A Microsoft cloud access security broker that enables customers to control the access and use of software as a service apps in their organization.
60 questions
asked 2023-11-14T16:03:43.61+00:00
JC 0 Reputation points
edited the question 2023-11-14T16:39:42.62+00:00
MuthuKumaranMurugaachari-MSFT 17,686 Reputation points
1 answer

Azure Logic app 'enable chunking' not sending follow up Http GET requests

My clients need to import large data sets from my website to Azure Sentinel logic app, I am testing out the available options to do the same. For the very large files >200mb, I plan to use file/s3 import in logic apps. But that will take a while for…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,507 questions
asked 2023-11-09T19:50:39.7366667+00:00
AJ 0 Reputation points
commented 2023-11-14T16:38:39.0233333+00:00
AJ 0 Reputation points
0 answers

Hi Guys how can I fix this problem in SQL server please ?

Arithmetic overflow error converting expression to data type int. Warning: Null value is eliminated by an aggregate or other SET operation.

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
11,412 questions
asked 2023-11-14T16:37:52.4+00:00
RACHID FIRAS 0 Reputation points
1 answer

What is the best way to have WebForms ComboBox's width reach to the end of the content

I am currently working with WebForm's ComboBox and I am trying to make it reach to the end of the content. I currently have the CSS looking like this .CustomComboBoxStyle .ajax__combobox_textboxcontainer input { background-color: #ADD8E6; …

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
646 questions
asked 2023-11-13T21:42:35.8733333+00:00
Brian Tan 40 Reputation points
edited a comment 2023-11-14T16:36:46.3033333+00:00
Brian Tan 40 Reputation points