Mac Microsoft Remote Desktop Negotiating Credentials

  1. Mac Microsoft Remote Desktop Negotiating Credentials 2017
  2. Remote Desktop Microsoft For Mac
  3. Microsoft Remote Desktop Mac Stuck On Negotiating Credentials

Remote Desktop Connection on a Mac Introduction This document contains instructions on connecting to your machine in the office. Please note, you must be connected to Pace’s network using VPN (Virtual Private Network). To connect to your campus Windows PC from a Mac you will need to use the Microsoft Remote Desktop application for Mac. May 18, 2016  The remotedesktop client was working fine on my Mac before I upgraded to OSX Maverix. Following the upgrade to OSX, it stopped working. So upgraded to Version 8.0.24308 which is the latest available version. At this point, remote-desktop fails in the step 'Negotiating Credentials'.

Freeware

Installing Microsoft Desktop Connection for MAC BEFORE YOU BEGIN MAKE SURE YOU HAVE:. COMPUTER NAME. USER NAME. A TEMPORARY PASSWORD. YOU’RE USING THE MOST RECENT COPY (SEE LINK) OF MICROSOFT. Where does Microsoft RDP 8 for Mac store its connections and configuration? Where does Microsoft RDP 8 for Mac store its configuration. Ask Question Asked 4 years, 11 months. Share a configuration you can select the target under My Desktops and either right-click and select Export or from the Microsoft Remote Desktop File menu select Export. Oct 19, 2015  Got a new mac recently, and i want to connect to my windows servers. I download Microsoft Remote Desktop Client for Mac from microsoft's site. But it keeps says “RDC Installer.mpkg” can’t be opened because it is from an unidentified developer.

macOS
24.9 MB
103,332

Easily connect to remote Windows PCs

With Remote Desktop Connection Client 2, you can quickly, simply and securely connect to Windows-based PCs to access Windows-based files, applications, devices, and networks from your Mac.

One Mac, unlimited Windows

New Multiple Session Support gives Mac users simultaneous access to multiple Windows-based PCs or to a network server that hosts remote applications and files. Since it works with Vista and is a Universal application, Remote Desktop Connection Client 2 is compatible with the latest technologies on Windows and Mac platforms.

A more Mac-like experience

A redesigned user interface makes this application more customizable. Create your own keyboard shortcuts; and even access and change preferences during active sessions.

Print everything off your Mac

Access and print from Windows applications to any printer that can be configured from your Intel- or PowerPC-based Macs.

Get fast updates and easy help

Microsoft Error Reporting Tool and Microsoft AutoUpdate are included so you can anonymously submit data on software related issues and get software updates as soon as they are available. Remote Desktop Connection Client 2 also takes advantage of the new Helpviewer and improved help topics for quick access to fresh online product help from within the application.

Reduce security breaches

Network Level Authentication (NLA) is a new authentication method in Windows Vista that offers security enhancements that can help to protect the remote computer from hackers and malicious software. It completes user authentication before you establish a full Remote Desktop Connection. Please see Windows Help for more details on network level authentication.

What's New:

  • You can download version 10.2.9 and update to 10.2.11 if you don't want to go through the Appstore.

Software similar to Microsoft Remote Desktop for Mac 4

  • 42 votes
    AnyDesk is a fast remote desktop system and enables users to access their data, images, videos and applications from anywhere and at any time, and also to share it with others.
    • Freeware
    • Windows/macOS
  • 60 votes
    TeamViewer is the fast, simple and friendly solution for remote access over the Internet.
    • Freeware
    • macOS
  • 90 votes
    VNC is remote access and control software for an unrivalled mix of Windows, Mac, UNIX and Linux computers. With a simple peer-to-peer architecture, no agents or centralized servers are required.
    • Freeware
    • Multiple OS
-->

This article provides details for integrating your Remote Desktop Gateway infrastructure with Azure Multi-Factor Authentication (MFA) using the Network Policy Server (NPS) extension for Microsoft Azure.

The Network Policy Server (NPS) extension for Azure allows customers to safeguard Remote Authentication Dial-In User Service (RADIUS) client authentication using Azure's cloud-based Multi-Factor Authentication (MFA). This solution provides two-step verification for adding a second layer of security to user sign-ins and transactions.

This article provides step-by-step instructions for integrating the NPS infrastructure with Azure MFA using the NPS extension for Azure. This enables secure verification for users attempting to sign in to a Remote Desktop Gateway.

Note

This article should not be used with MFA Server deployments and should only be used with Azure MFA (Cloud-based) deployments.

The Network Policy and Access Services (NPS) gives organizations the ability to do the following:

  • Define central locations for the management and control of network requests by specifying who can connect, what times of day connections are allowed, the duration of connections, and the level of security that clients must use to connect, and so on. Rather than specifying these policies on each VPN or Remote Desktop (RD) Gateway server, these policies can be specified once in a central location. The RADIUS protocol provides the centralized Authentication, Authorization, and Accounting (AAA).
  • Establish and enforce Network Access Protection (NAP) client health policies that determine whether devices are granted unrestricted or restricted access to network resources.
  • Provide a means to enforce authentication and authorization for access to 802.1x-capable wireless access points and Ethernet switches.

Typically, organizations use NPS (RADIUS) to simplify and centralize the management of VPN policies. However, many organizations also use NPS to simplify and centralize the management of RD Desktop Connection Authorization Policies (RD CAPs).

Organizations can also integrate NPS with Azure MFA to enhance security and provide a high level of compliance. This helps ensure that users establish two-step verification to sign in to the Remote Desktop Gateway. For users to be granted access, they must provide their username/password combination along with information that the user has in their control. This information must be trusted and not easily duplicated, such as a cell phone number, landline number, application on a mobile device, and so on. RDG currently supports phone call and push notifications from Microsoft authenticator app methods for 2FA. For more information about supported authentication methods see the section Determine which authentication methods your users can use.

Prior to the availability of the NPS extension for Azure, customers who wished to implement two-step verification for integrated NPS and Azure MFA environments had to configure and maintain a separate MFA Server in the on-premises environment as documented in Remote Desktop Gateway and Azure Multi-Factor Authentication Server using RADIUS.

The availability of the NPS extension for Azure now gives organizations the choice to deploy either an on-premises based MFA solution or a cloud-based MFA solution to secure RADIUS client authentication.

Authentication Flow

For users to be granted access to network resources through a Remote Desktop Gateway, they must meet the conditions specified in one RD Connection Authorization Policy (RD CAP) and one RD Resource Authorization Policy (RD RAP). RD CAPs specify who is authorized to connect to RD Gateways. RD RAPs specify the network resources, such as remote desktops or remote apps, that the user is allowed to connect to through the RD Gateway.

An RD Gateway can be configured to use a central policy store for RD CAPs. RD RAPs cannot use a central policy, as they are processed on the RD Gateway. An example of an RD Gateway configured to use a central policy store for RD CAPs is a RADIUS client to another NPS server that serves as the central policy store.

When the NPS extension for Azure is integrated with the NPS and Remote Desktop Gateway, the successful authentication flow is as follows:

  1. The Remote Desktop Gateway server receives an authentication request from a remote desktop user to connect to a resource, such as a Remote Desktop session. Acting as a RADIUS client, the Remote Desktop Gateway server converts the request to a RADIUS Access-Request message and sends the message to the RADIUS (NPS) server where the NPS extension is installed.
  2. The username and password combination is verified in Active Directory and the user is authenticated.
  3. If all the conditions as specified in the NPS Connection Request and the Network Policies are met (for example, time of day or group membership restrictions), the NPS extension triggers a request for secondary authentication with Azure MFA.
  4. Azure MFA communicates with Azure AD, retrieves the user's details, and performs the secondary authentication using supported methods.
  5. Upon success of the MFA challenge, Azure MFA communicates the result to the NPS extension.
  6. The NPS server, where the extension is installed, sends a RADIUS Access-Accept message for the RD CAP policy to the Remote Desktop Gateway server.
  7. The user is granted access to the requested network resource through the RD Gateway.

Prerequisites

This section details the prerequisites necessary before integrating Azure MFA with the Remote Desktop Gateway. Before you begin, you must have the following prerequisites in place.

  • Remote Desktop Services (RDS) infrastructure
  • Azure MFA License
  • Windows Server software
  • Network Policy and Access Services (NPS) role
  • Azure Active Directory synched with on-premises Active Directory
  • Azure Active Directory GUID ID

Remote Desktop Services (RDS) infrastructure

You must have a working Remote Desktop Services (RDS) infrastructure in place. If you do not, then you can quickly create this infrastructure in Azure using the following quickstart template: Create Remote Desktop Session Collection deployment.

If you wish to manually create an on-premises RDS infrastructure quickly for testing purposes, follow the steps to deploy one.Learn more: Deploy RDS with Azure quickstart and Basic RDS infrastructure deployment.

Azure MFA License

Required is a license for Azure MFA, which is available through Azure AD Premium or other bundles that include it. Consumption-based licenses for Azure MFA, such as per user or per authentication licenses, are not compatible with the NPS extension. For more information, see How to get Azure Multi-Factor Authentication. For testing purposes, you can use a trial subscription.

Windows Server software

The NPS extension requires Windows Server 2008 R2 SP1 or above with the NPS role service installed. All the steps in this section were performed using Windows Server 2016.

Network Policy and Access Services (NPS) role

The NPS role service provides the RADIUS server and client functionality as well as Network Access Policy health service. This role must be installed on at least two computers in your infrastructure: The Remote Desktop Gateway and another member server or domain controller. By default, the role is already present on the computer configured as the Remote Desktop Gateway. You must also install the NPS role on at least on another computer, such as a domain controller or member server.

For information on installing the NPS role service Windows Server 2012 or older, see Install a NAP Health Policy Server. For a description of best practices for NPS, including the recommendation to install NPS on a domain controller, see Best Practices for NPS.

Azure Active Directory synched with on-premises Active Directory

To use the NPS extension, on-premises users must be synced with Azure AD and enabled for MFA. This section assumes that on-premises users are synched with Azure AD using AD Connect. For information on Azure AD connect, see Integrate your on-premises directories with Azure Active Directory.

Azure Active Directory GUID ID

To install NPS extension, you need to know the GUID of the Azure AD. Instructions for finding the GUID of the Azure AD are provided below.

Configure Multi-Factor Authentication

This section provides instructions for integrating Azure MFA with the Remote Desktop Gateway. As an administrator, you must configure the Azure MFA service before users can self-register their multi-factor devices or applications.

Follow the steps in Getting started with Azure Multi-Factor Authentication in the cloud to enable MFA for your Azure AD users.

Configure accounts for two-step verification

Once an account has been enabled for MFA, you cannot sign in to resources governed by the MFA policy until you have successfully configured a trusted device to use for the second authentication factor and have authenticated using two-step verification.

Follow the steps in What does Azure Multi-Factor Authentication mean for me? to understand and properly configure your devices for MFA with your user account.

Install and configure NPS extension

This section provides instructions for configuring RDS infrastructure to use Azure MFA for client authentication with the Remote Desktop Gateway.

Mac Microsoft Remote Desktop Negotiating Credentials 2017

Acquire Azure Active Directory GUID ID

As part of the configuration of the NPS extension, you need to supply admin credentials and the Azure AD ID for your Azure AD tenant. The following steps show you how to get the tenant ID.

  1. Sign in to the Azure portal as the global administrator of the Azure tenant.

  2. In the Azure portal menu, select Azure Active Directory, or search for and select Azure Active Directory from any page.

  3. Select Properties.

  4. In the Properties blade, beside the Directory ID, click the Copy icon, as shown below, to copy the ID to clipboard.

Install the NPS extension

Install the NPS extension on a server that has the Network Policy and Access Services (NPS) role installed. This functions as the RADIUS server for your design.

Important

Be sure you do not install the NPS extension on your Remote Desktop Gateway server.

  1. Download the NPS extension.
  2. Copy the setup executable file (NpsExtnForAzureMfaInstaller.exe) to the NPS server.
  3. On the NPS server, double-click NpsExtnForAzureMfaInstaller.exe. If prompted, click Run.
  4. In the NPS Extension For Azure MFA Setup dialog box, review the software license terms, check I agree to the license terms and conditions, and click Install.
  5. In the NPS Extension For Azure MFA Setup dialog box, click Close.

Configure certificates for use with the NPS extension using a PowerShell script

Next, you need to configure certificates for use by the NPS extension to ensure secure communications and assurance. The NPS components include a Windows PowerShell script that configures a self-signed certificate for use with NPS.

The script performs the following actions:

  • Creates a self-signed certificate
  • Associates public key of certificate to service principal on Azure AD
  • Stores the cert in the local machine store
  • Grants access to the certificate's private key to the network user
  • Restarts Network Policy Server service

If you want to use your own certificates, you need to associate the public key of your certificate to the service principal on Azure AD, and so on.

Remote Desktop Microsoft For Mac

To use the script, provide the extension with your Azure AD Admin credentials and the Azure AD tenant ID that you copied earlier. Run the script on each NPS server where you installed the NPS extension. Then do the following:

  1. Open an administrative Windows PowerShell prompt.

  2. At the PowerShell prompt, type cd 'c:Program FilesMicrosoftAzureMfaConfig', and press ENTER.

  3. Type .AzureMfaNpsExtnConfigSetup.ps1, and press ENTER. The script checks to see if the Azure Active Directory PowerShell module is installed. If not installed, the script installs the module for you.

  4. After the script verifies the installation of the PowerShell module, it displays the Azure Active Directory PowerShell module dialog box. In the dialog box, enter your Azure AD admin credentials and password, and click Sign In.

  5. When prompted, paste the Directory ID you copied to the clipboard earlier, and press ENTER.

  6. The script creates a self-signed certificate and performs other configuration changes. The output should be like the image shown below.

Configure NPS components on Remote Desktop Gateway

In this section, you configure the Remote Desktop Gateway connection authorization policies and other RADIUS settings.

The authentication flow requires that RADIUS messages be exchanged between the Remote Desktop Gateway and the NPS server where the NPS extension is installed. This means that you must configure RADIUS client settings on both Remote Desktop Gateway and the NPS server where the NPS extension is installed.

Microsoft Remote Desktop Mac Stuck On Negotiating Credentials

Configure Remote Desktop Gateway connection authorization policies to use central store

Remote Desktop connection authorization policies (RD CAPs) specify the requirements for connecting to a Remote Desktop Gateway server. RD CAPs can be stored locally (default) or they can be stored in a central RD CAP store that is running NPS. To configure integration of Azure MFA with RDS, you need to specify the use of a central store.

  1. On the RD Gateway server, open Server Manager.

  2. On the menu, click Tools, point to Remote Desktop Services, and then click Remote Desktop Gateway Manager.

  3. In the RD Gateway Manager, right-click [Server Name] (Local), and click Properties.

  4. In the Properties dialog box, select the RD CAP Store tab.

  5. On the RD CAP Store tab, select Central server running NPS.

  6. In the Enter a name or IP address for the server running NPS field, type the IP address or server name of the server where you installed the NPS extension.

  7. Click Add.

  8. In the Shared Secret dialog box, enter a shared secret, and then click OK. Ensure you record this shared secret and store the record securely.

    Note

    Shared secret is used to establish trust between the RADIUS servers and clients. Create a long and complex secret.

  9. Click OK to close the dialog box.

Configure RADIUS timeout value on Remote Desktop Gateway NPS

To ensure there is time to validate users' credentials, perform two-step verification, receive responses, and respond to RADIUS messages, it is necessary to adjust the RADIUS timeout value.

  1. On the RD Gateway server, open Server Manager. On the menu, click Tools, and then click Network Policy Server.

  2. In the NPS (Local) console, expand RADIUS Clients and Servers, and select Remote RADIUS Server.

  3. In the details pane, double-click TS GATEWAY SERVER GROUP.

    Note

    This RADIUS Server Group was created when you configured the central server for NPS policies. The RD Gateway forwards RADIUS messages to this server or group of servers, if more than one in the group.

  4. In the TS GATEWAY SERVER GROUP Properties dialog box, select the IP address or name of the NPS server you configured to store RD CAPs, and then click Edit.

  5. In the Edit RADIUS Server dialog box, select the Load Balancing tab.

  6. In the Load Balancing tab, in the Number of seconds without response before request is considered dropped field, change the default value from 3 to a value between 30 and 60 seconds.

  7. In the Number of seconds between requests when server is identified as unavailable field, change the default value of 30 seconds to a value that is equal to or greater than the value you specified in the previous step.

  8. Click OK two times to close the dialog boxes.

Verify Connection Request Policies

By default, when you configure the RD Gateway to use a central policy store for connection authorization policies, the RD Gateway is configured to forward CAP requests to the NPS server. The NPS server with the Azure MFA extension installed, processes the RADIUS access request. The following steps show you how to verify the default connection request policy.

  1. On the RD Gateway, in the NPS (Local) console, expand Policies, and select Connection Request Policies.

  2. Double-click TS GATEWAY AUTHORIZATION POLICY.

  3. In the TS GATEWAY AUTHORIZATION POLICY properties dialog box, click the Settings tab.

  4. On Settings tab, under Forwarding Connection Request, click Authentication. RADIUS client is configured to forward requests for authentication.

  5. Click Cancel.

Note

For more information about creating a connection request policy see the article, Configure connection request policies documentation for the same.

Configure NPS on the server where the NPS extension is installed

The NPS server where the NPS extension is installed needs to be able to exchange RADIUS messages with the NPS server on the Remote Desktop Gateway. To enable this message exchange, you need to configure the NPS components on the server where the NPS extension service is installed.

Register Server in Active Directory

To function properly in this scenario, the NPS server needs to be registered in Active Directory.

  1. On the NPS server, open Server Manager.

  2. In Server Manager, click Tools, and then click Network Policy Server.

  3. In the Network Policy Server console, right-click NPS (Local), and then click Register server in Active Directory.

  4. Click OK two times.

  5. Leave the console open for the next procedure.

Create and configure RADIUS client

The Remote Desktop Gateway needs to be configured as a RADIUS client to the NPS server.

  1. On the NPS server where the NPS extension is installed, in the NPS (Local) console, right-click RADIUS Clients and click New.

  2. In the New RADIUS Client dialog box, provide a friendly name, such as Gateway, and the IP address or DNS name of the Remote Desktop Gateway server.

  3. In the Shared secret and the Confirm shared secret fields, enter the same secret that you used before.

  4. Click OK to close the New RADIUS Client dialog box.

Configure Network Policy

Recall that the NPS server with the Azure MFA extension is the designated central policy store for the Connection Authorization Policy (CAP). Therefore, you need to implement a CAP on the NPS server to authorize valid connections requests.

  1. On the NPS Server, open the NPS (Local) console, expand Policies, and click Network Policies.

  2. Right-click Connections to other access servers, and click Duplicate Policy.

  3. Right-click Copy of Connections to other access servers, and click Properties.

  4. In the Copy of Connections to other access servers dialog box, in Policy name, enter a suitable name, such as RDG_CAP. Check Policy enabled, and select Grant access. Optionally, in Type of network access server, select Remote Desktop Gateway, or you can leave it as Unspecified.

  5. Click the Constraints tab, and check Allow clients to connect without negotiating an authentication method.

  6. Optionally, click the Conditions tab and add conditions that must be met for the connection to be authorized, for example, membership in a specific Windows group.

  7. Click OK. When prompted to view the corresponding Help topic, click No.

  8. Ensure that your new policy is at the top of the list, that the policy is enabled, and that it grants access.

Verify configuration

To verify the configuration, you need to sign in to the Remote Desktop Gateway with a suitable RDP client. Be sure to use an account that is allowed by your Connection Authorization Policies and is enabled for Azure MFA.

As show in the image below, you can use the Remote Desktop Web Access page.

Upon successfully entering your credentials for primary authentication, the Remote Desktop Connect dialog box shows a status of Initiating remote connection, as shown below.

If you successfully authenticate with the secondary authentication method you previously configured in Azure MFA, you are connected to the resource. However, if the secondary authentication is not successful, you are denied access to the resource.

In the example below, the Authenticator app on a Windows phone is used to provide the secondary authentication.

Once you have successfully authenticated using the secondary authentication method, you are logged into the Remote Desktop Gateway as normal. However, because you are required to use a secondary authentication method using a mobile app on a trusted device, the sign in process is more secure than it would be otherwise.

View Event Viewer logs for successful logon events

To view the successful sign-in events in the Windows Event Viewer logs, you can issue the following Windows PowerShell command to query the Windows Terminal Services and Windows Security logs.

To query successful sign-in events in the Gateway operational logs (Event ViewerApplications and Services LogsMicrosoftWindowsTerminalServices-GatewayOperational), use the following PowerShell commands:

  • Get-WinEvent -Logname Microsoft-Windows-TerminalServices-Gateway/Operational | where {$_.ID -eq '300'} | FL
  • This command displays Windows events that show the user met resource authorization policy requirements (RD RAP) and was granted access.
  • Get-WinEvent -Logname Microsoft-Windows-TerminalServices-Gateway/Operational | where {$_.ID -eq '200'} | FL
  • This command displays the events that show when user met connection authorization policy requirements.

You can also view this log and filter on event IDs, 300 and 200. To query successful logon events in the Security event viewer logs, use the following command:

  • Get-WinEvent -Logname Security | where {$_.ID -eq '6272'} | FL
  • This command can be run on either the central NPS or the RD Gateway Server.

You can also view the Security log or the Network Policy and Access Services custom view, as shown below:

On the server where you installed the NPS extension for Azure MFA, you can find Event Viewer application logs specific to the extension at Application and Services LogsMicrosoftAzureMfa.

Troubleshoot Guide

If the configuration is not working as expected, the first place to start to troubleshoot is to verify that the user is configured to use Azure MFA. Have the user connect to the Azure portal. If users are prompted for secondary verification and can successfully authenticate, you can eliminate an incorrect configuration of Azure MFA.

If Azure MFA is working for the user(s), you should review the relevant Event logs. These include the Security Event, Gateway operational, and Azure MFA logs that are discussed in the previous section.

Below is an example output of Security log showing a failed logon event (Event ID 6273).

Below is a related event from the AzureMFA logs:

To perform advanced troubleshoot options, consult the NPS database format log files where the NPS service is installed. These log files are created in %SystemRoot%System32Logs folder as comma-delimited text files.

For a description of these log files, see Interpret NPS Database Format Log Files. The entries in these log files can be difficult to interpret without importing them into a spreadsheet or a database. You can find several IAS parsers online to assist you in interpreting the log files.

The image below shows the output of one such downloadable shareware application.

Finally, for additional troubleshoot options, you can use a protocol analyzer, such Microsoft Message Analyzer.

Microsoft

The image below from Microsoft Message Analyzer shows network traffic filtered on RADIUS protocol that contains the user name CONTOSOAliceC.

Next steps