288,476 questions

Sort by: Updated
1 answer

C# Regex pattern double quotes problem

Hello all. In the following code if the user string input is "a"b" or "a\"b" is match a"b string. I don't expect that "a"b" is a valid regex pattern as the code return true in the try catch block. what…

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.
10,253 questions
asked 2024-04-28T10:01:51.6966667+00:00
Haviv Elbsz 1,886 Reputation points
edited a comment 2024-04-28T12:26:42.46+00:00
Haviv Elbsz 1,886 Reputation points
3 answers

Windows trust between parent and child domain broken

Hello, I was wondering if anyone has an idea how a domain trust could be fixed. The domain trust is broken but I can't fix it because DNS doesn't work properly anymore. DNS can't be fixed, because the domain trust is broken. The DC in the parent…

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,372 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,861 questions
asked 2024-04-28T09:29:12.9166667+00:00
Romar 86 Reputation points
edited a comment 2024-04-28T12:25:37.0766667+00:00
Romar 86 Reputation points
2 answers

how do I find the working area of my uwp app in .net using C#

This is a simple question but I'm having a rough time finding an answer. What I want to find is the working area of my application. I'm working in Visual Studio 2022 and have created the basic project. Searches on the internet result in many answers…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,377 questions
Universal Windows Platform (UWP)
asked 2024-04-24T13:23:16.3+00:00
Joe Babb 60 Reputation points
edited a comment 2024-04-28T12:25:09.58+00:00
Joe Babb 60 Reputation points
1 answer

How do you calculate the token needed for Azure open ai chat interface and how is it calculated after using tools?

How do you calculate the token needed for Azure open ai chat interface and how is it calculated after using tools?

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
957 questions
asked 2024-04-28T06:30:39.92+00:00
俊岚 吴 0 Reputation points
commented 2024-04-28T12:21:09.37+00:00
俊岚 吴 0 Reputation points
1 answer

How to deploy a web app with multiple docker images and no sidecar container

What is the best tool in Azure to host a web application that consists of four separate Docker images that have to communicate between each other? I've already tried container instances but learned that it's not possible to host multiple containers with…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
957 questions
asked 2024-04-27T11:39:45.0933333+00:00
Kirsten Rode 20 Reputation points
answered 2024-04-28T12:19:38.08+00:00
Charlie Wei 1,900 Reputation points
1 answer

Handling different date formats in Azure SQL

I need help with writing a stored procedure in Azure SQL that updates datetime values stored as varchar columns with different date formats to a consistent format of 'MM/dd/yyyy hh:mm:ss'. Specifically, the columns whose names end with 'DP' need to be…

Azure SQL Database
asked 2024-04-27T06:50:10.9666667+00:00
Sodi, Deepthika 0 Reputation points
commented 2024-04-28T12:17:36.9+00:00
Sina Salam 3,561 Reputation points
2 answers One of the answers was accepted by the question author.

Microsoft Certified Trainer Requirements

I am a Microsoft certified educated and for last 2 years I am MIEE expert and can I enroll for the Microsoft certified trainer program, I have already conducted many training programs in my previous schools and LinkedIn live events and I am going to…

Microsoft 365 Training
Microsoft 365 Training
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.Training: Instruction to develop new skills.
24 questions
asked 2024-04-28T07:52:24.66+00:00
NASLIN SITHARA 0 Reputation points
accepted 2024-04-28T12:16:08.95+00:00
NASLIN SITHARA 0 Reputation points
4 answers

Error on using listpicker on a custom SCSM Form

I recompiled my custom form in VS2019 , because I added some new properties. I get an error on loading the form in SCSM console. I get the error : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an…

Service Manager
Service Manager
A family of System Center products for managing incidents and problems.
209 questions
asked 2022-09-14T13:09:56.577+00:00
Frank Vanhoorne 41 Reputation points
commented 2024-04-28T12:15:37.77+00:00
jhonsmith461 0 Reputation points
2 answers

What is the difference between "SQL Server Object Explorer" and "Server Explorer")

I followed the information: "Create a dataset for .NET Framework application using the Dataset Designer" and the Server Explorer shows the "NorthwindDataset.mdf" but with no tables. and the SQL Server Object Explorer shows the…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,718 questions
asked 2024-04-27T15:37:27.17+00:00
Malcolm Fellmann 5 Reputation points
commented 2024-04-28T12:12:07.4033333+00:00
Erland Sommarskog 101K Reputation points MVP
1 answer

How to connect to Azure Storage account via OAuth2.0 from Azure APIM?

Step1: Created an application in Microsoft Entra ID under "App registrations". Step2: Recorded the following details: Client ID Client secret Access token URL Step3: For the Storage Account, added a role assignment and grant access to the…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,752 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.
2,689 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,428 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,476 questions
asked 2024-04-08T03:41:19.2533333+00:00
Vijay 0 Reputation points
edited a comment 2024-04-28T12:04:49.69+00:00
Vijay 0 Reputation points
1 answer One of the answers was accepted by the question author.

This assessment is currently undergoing maintenance. Explore other Microsoft Credentials in the meantime.

This assessment is currently undergoing maintenance. Explore other Microsoft Credentials in the meantime. Of lab:

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,013 questions
asked 2024-04-04T09:53:06.2+00:00
Mohit Kumar 90 Reputation points
accepted 2024-04-28T11:58:56.7166667+00:00
Mohit Kumar 90 Reputation points
1 answer

Request to Reactivate Coupon for AZ-104 Certification Rescheduling

Hi Team I am writing to request assistance regarding my AZ-104 certification exam. As per my initial arrangement, I had scheduled the AZ-104 certification exam for March 28th. Unfortunately, due to a medical emergency that arose unexpectedly, I was…

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,013 questions
asked 2024-04-26T12:21:02.7+00:00
KumariNisha-0678 0 Reputation points
answered 2024-04-28T11:47:49.19+00:00
Charlie Wei 1,900 Reputation points
2 answers

word 2019 voice dictation button does not exist

why does word not have voice dictation button? I have a Microsoft® Word 2019 MSO (versão 2208 Build 16. 0. 15601. 20644) 64-bit

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
660 questions
asked 2023-05-28T00:03:48.23+00:00
Mário de Almeida 0 Reputation points
commented 2024-04-28T11:45:36.2+00:00
Stefan Blom 2,061 Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to Calculate salary of employee

I am calculating salary using below query SELECT '29' as Total_Days,'28' as Present_Days, (14000 / 29) AS Per_Day, (14000 / 29) * 28 AS Total_Salary; But Total_Salary should be 14000 because Total_Days 29 and Present_Day 29

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,718 questions
SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
42 questions
asked 2024-04-27T06:08:58.23+00:00
Analyst_SQL 3,551 Reputation points
accepted 2024-04-28T11:39:25.0166667+00:00
Analyst_SQL 3,551 Reputation points
1 answer

can we create manintenance configuration only with azurerm provider not with azureapi

can we create manintenance configuration only with azurerm provider not with azureapi If yes, could you please provide more info on assigning install patches, windows, linux and other arguments.

Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
222 questions
asked 2024-04-27T07:08:09.0566667+00:00
Varma 1,120 Reputation points
edited a comment 2024-04-28T11:27:38.8333333+00:00
Sina Salam 3,561 Reputation points
1 answer

delete files in a subfolder in scdule time

I have two folder- A and B B is subfolder of A and inside B there many files , i want to delete files inside B more that x days without delete Folder B , is there any solution Thnx

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,365 questions
asked 2024-04-28T10:02:38.3666667+00:00
Meysam Salary 0 Reputation points
answered 2024-04-28T11:14:28.3233333+00:00
Marcin Policht 10,675 Reputation points MVP
1 answer

How to get a certificate

Where to get a certificate This question is related to the following Learning Module

Microsoft Power Platform Training
Microsoft Power Platform Training
Microsoft Power Platform: An integrated set of Microsoft business intelligence services.Training: Instruction to develop new skills.
52 questions
asked 2024-04-28T08:49:39.06+00:00
SENAPATHI.BABY DIVYA 0 Reputation points
answered 2024-04-28T11:14:00.19+00:00
Marcin Policht 10,675 Reputation points MVP
2 answers One of the answers was accepted by the question author.

Custom ApiController Model Binding type conversion error

According to the Model Binding documentation: In an API controller that has the [ApiController] attribute, invalid model state results in an automatic HTTP 400 response. So when I send an invalid type in the request body (e.g. int instead of string),…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,167 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.
10,253 questions
asked 2024-04-24T10:30:29.13+00:00
iKingNinja 60 Reputation points
accepted 2024-04-28T11:08:20.8766667+00:00
iKingNinja 60 Reputation points
1 answer

Remove-MgGroupMemberDirectoryObjectByRef: Insufficient privileges to complete the operation

I am trying to use the Remove-MgGroupMemberDirectoryObjectByRef -GroupId $groupId -DirectoryObjectId $userId to remove users from a group. It works fine when using an account that has global admin permissions but using a service principal with…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,595 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,059 questions
asked 2024-04-27T16:28:07.0666667+00:00
SMart-8804 0 Reputation points
edited a comment 2024-04-28T11:03:08.11+00:00
SMart-8804 0 Reputation points
1 answer

audit public folders

Hello  Please i need your help on this issue.  When trying to run audits, results are not showing.   I would like to know how to audit public folders.    Also i am not getting the desire results when i try to search for audit logs for compliance…

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.
3,793 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,861 questions
asked 2024-04-26T18:33:16.4133333+00:00
IniobongNkanga-8038 246 Reputation points
answered 2024-04-28T10:52:07.5966667+00:00
Khaled El-Sayed Mohamed 1,140 Reputation points