375,840 questions

Sort by: Updated
1 answer

用最少的C#代码,实现1个功能的方法

尊敬的微软技术专家: 您好! 请问用什么思路,能快速找到《用最少的C#代码,实现1个功能的方法》? 1)项目情况 1.1)用Visual Studio 2019、C#、SQL Server 2008 R2 开发1个WinForm模式的零售业进销存系统 1.2)客户经常突发要开发一些小功能 1.3)客户要求快速开发完这些小功能 2)我要解决的问题 2.1)用最快速度,找到实现这些小功能的方法 …

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,796 questions
asked 2019-12-18T08:09:23.693+00:00
piiboy 1 Reputation point
answered 2019-12-18T18:14:57.6+00:00
Sandra Aldana 5,381 Reputation points Microsoft Employee
5 answers

Unable to RDP to VMs

What are the common cause in unable to remote desktop to Azure VMs? I already have RDP ports enable as well successfully did a network test.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,810 questions
asked 2019-12-06T08:48:12.297+00:00
CromwellM 1 Reputation point
answered 2019-12-18T17:50:00.52+00:00
Branden_Naidoo 1 Reputation point
1 answer

Assign a policy to enforce a condition for resources you create in the future

Hi Team, i would like to allow users for Free Tier(F1) while creation the App Service Plan, it should deny the all other tiers except allowed tier. Thanks in Advance. Regards, Venu Sunkara

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
asked 2019-12-10T13:10:34.787+00:00
Venu Sunkara 6 Reputation points
commented 2019-12-18T15:46:19.43+00:00
ajkuma 25,791 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Enterprise App oAuth2 SSO gets invalid session key

I added my Moodle instance as an Azure AD Enterprise app. The login works well, but fails in a very specific way (which tends to be quite popular amongst users). When people click on the login button, they get redirected to the Microsoft login…

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
asked 2019-12-17T13:11:48.52+00:00
Jeff Noël 21 Reputation points
accepted 2019-12-18T14:11:04.41+00:00
Jeff Noël 21 Reputation points
2 answers

Azure AD OIDC token issues

Hi, We've been using OIDC tokens with our application behind AWS ALB, and its been working fine until last week. Looks like UserInfo endpoint not returning everything AWS ALB is expecting as per OIDC protocol specs? MSFT has been advising to use /me…

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
asked 2019-12-17T16:44:55.6+00:00
Faraz Siddiqui 1 Reputation point
answered 2019-12-18T10:19:56.777+00:00
Faraz Siddiqui 1 Reputation point
1 answer

VS 17 "Unable to Open Database File" While connecting to sqlite Database thru new connection wizard

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,796 questions
asked 2019-12-18T03:46:15.497+00:00
yadwinder singh 1 Reputation point
answered 2019-12-18T07:32:53.387+00:00
Ismail Abdelrahim 1 Reputation point
1 answer

Using Yubikey with Azure SSO MFA

Hi, I've configured our Business Central On-Prem V13 Test environment for Azure SSO and it works great. I would like to enable the use of Yubico Yubikey for MFA. As many of our employees are not provided with smart phones, we need a way to allow them to…

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
asked 2019-12-17T23:13:19.507+00:00
Yann Saint-Laurent 1 Reputation point
answered 2019-12-18T06:34:27.693+00:00
Manoj Reddy 406 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

[cpp][uwp] c++ winrt How to get app width and bind it to a Slider

in I am trying to bind the upper end of a Slider to the current width of the app. It needs to look like, < Slider x:Name="Slider1" Width="200" Minimum="50" Maximum="Page-Width" StepFrequency="10"…

Universal Windows Platform (UWP)
asked 2019-12-17T12:08:18.303+00:00
Kai 81 Reputation points
accepted 2019-12-18T04:20:52.3+00:00
Kai 81 Reputation points
3 answers

Azure VM to VM communication

Hello All, Looking form some information and how-to I would like to have my VMs on two different V-Nets be able to communicate with each other.... I know I can do peering between the V-Nets and that allows communication fine, and I have set that…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,810 questions
asked 2019-11-27T13:39:38.817+00:00
Dave 1 Reputation point
answered 2019-12-18T04:19:23.81+00:00
Emerson Caro 86 Reputation points
2 answers

Office 365 developer subscriptions support

My Office 365 developer subscriptions, tells me that its inactive. Even though I thought I had been developing against it. Has anyone got a contact details of support as I can't seem to find any?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,796 questions
asked 2019-12-17T07:38:33.717+00:00
Darren W 1 Reputation point
answered 2019-12-18T04:08:33.9+00:00
Anonymous
3 answers

Configure basic load balancer for existing VMs

I'm trying to configure a basic load balancer for two of our VMs. In order to do this is looks like I need an availability set. I didn't create on when I created the VMs and it doesn't look like I can assign one to the VMs now. Do I need to create two…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,810 questions
asked 2019-12-06T02:31:15.94+00:00
jbassking 106 Reputation points
answered 2019-12-18T03:45:16.4+00:00
Emerson Caro 86 Reputation points
1 answer

Locked out of O365 Developer Instance

Hi all, I've got an Office 365 Developer Instance setup with a custom domain, customized admin credentials and user data. Unfortunately I am now unable to log into the instance with my administrator credentials and when trying to recover or reset…

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,796 questions
asked 2019-12-18T00:45:03.54+00:00
JB 1 Reputation point
answered 2019-12-18T03:23:39.907+00:00
Anonymous
1 answer

Does Azure AD support RelayState as form variable

I am creating a SP-initiated SAML flow where I need to send the RelayState via a form POST variable along with the SAMLRequest. Is this allowed and if so how do I configure it? Currently, the communication coming back from Azure AD has the…

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
asked 2019-12-17T17:42:10.423+00:00
Aaron rallls 1 Reputation point
commented 2019-12-17T20:19:52.057+00:00
Aaron rallls 1 Reputation point
2 answers

Restore option unavailable in SSMS

Hello, The 'Restore Database' option is not available when looking to upload a .bak file to SSMS in Azure's Virtual Machine for MS SQL Server. Is there a work around to import or upload a .bak file to SSMS so we are able to link our…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,810 questions
asked 2019-12-05T21:16:11.097+00:00
Aaron Erickson 1 Reputation point
answered 2019-12-17T19:19:15.81+00:00
Vaibhav Chaudhari 38,726 Reputation points
1 answer One of the answers was accepted by the question author.

[UWP][C#] - Datagrid ItemsSource

How can I bind a DataGrid's ItemsSource to list or array when I do not know the structure of the data? I know the column and row counts, but I need to create the object at run time that will bind to the Data grid. Thanks for any suggestions. …

Universal Windows Platform (UWP)
asked 2019-12-10T19:59:34.157+00:00
Paula Morgan 276 Reputation points
accepted 2019-12-17T18:51:34.01+00:00
Paula Morgan 276 Reputation points
2 answers One of the answers was accepted by the question author.

ADLS Gen1 vs Gen2?

Is there a clear documentation mentioning when to use ADLS Gen1 vs Gen2?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
asked 2019-12-12T03:18:48.23+00:00
Radhey Shah 26 Reputation points Microsoft Employee
answered 2019-12-17T18:05:28.65+00:00
Radhey Shah 26 Reputation points Microsoft Employee
1 answer

use button for dictation

Hello @RoyLiWicresoftNorthAmericaLtd-0833 I am using continues dictation in my app, but I have a problem, even though I put the silence time out to 1 day, it will still timeout after a while. What I am trying to do, is that the user press the button…

Universal Windows Platform (UWP)
asked 2019-11-13T04:26:11.89+00:00
Eduardo Gomez 3,426 Reputation points
commented 2019-12-17T16:51:44.057+00:00
Eduardo Gomez 3,426 Reputation points
2 answers

How to retrieve a correct token to request Reports on Graph

Hello I have registered an apps with Reports.Read.All permissions with delegation and Admin Consent I try to retrieve reports (email, onedrive, ...), but I don't succeed. The token retrieved nerver contains the permission Reports.Read.All …

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
asked 2019-12-12T14:50:19.113+00:00
Gilles T 1 Reputation point
answered 2019-12-17T16:18:59.997+00:00
Gilles T 1 Reputation point
1 answer

Finding Azure permissions needed for Powershell cmdlets

I'm trying to use Runbooks to automate things in Azure but I keep running into 'Insufficient privileges' errors for the runas user the Automation Account is using. Is there any documentation on what permissions the cmdlets need? I've not been able to…

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
asked 2019-12-17T11:15:58.957+00:00
MCMR 1 Reputation point
answered 2019-12-17T15:50:25+00:00
Sam Cogan 10,502 Reputation points MVP
0 answers

It is possible in UWP to set package.manifest property from C# code?

It is possible in UWP to set package. manifest property from C# code? I want to set all Assets images from C# code depending on some condition like if(MA) - Assets Type 1 if(OC) - Assets Type 2 Executable="$targetnametoken$.exe" …

Universal Windows Platform (UWP)
asked 2019-12-17T10:10:16.767+00:00
MangoApps 91 Reputation points
commented 2019-12-17T15:24:35.03+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points