> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-machine-learning-compute-instance-with-local-authentication-enabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Machine Learning compute instance with local authentication enabled

### Synopsis

| Field               | Value                                                                     |
| ------------------- | ------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                 |
| Finding Type        | Azure Machine Learning compute instance with local authentication enabled |
| Finding ID          | 60001461                                                                  |
| Generates a Finding | This detection rule also generates a finding                              |
| Severity            | Medium                                                                    |
| Category            | CONFIGURATION                                                             |
| Cloud Providers     | AZURE                                                                     |
| Platform Module     | CSPM                                                                      |
| Asset Types         | AZURE\_MACHINE\_LEARNING\_COMPUTE                                         |

### Description

Azure Machine Learning compute instances configured with local authentication present a significant security risk. Local authentication allows users to access the compute instance using local basic authentication, bypassing the security provided by Microsoft Entra ID.

Azure Machine Learning compute instances utilize local authentication settings within their configuration. Disabling local authentication enforces authentication via Microsoft Entra ID, a more secure method. Failure to disable local authentication exposes the compute instance to unauthorized access and potential data breaches, as attackers could exploit weak or compromised local credentials.

Compromised local accounts on Azure Machine Learning compute instances can lead to data exfiltration, unauthorized model training or deployment, and disruption of services. Using Microsoft Entra ID provides centralized identity management, multi-factor authentication capabilities, and enhanced auditability, improving overall security posture.

To mitigate this misconfiguration, disable local authentication on all Azure Machine Learning compute instances. Enforce authentication exclusively through Microsoft Entra ID, requiring all users to authenticate via managed identities. Regularly review and audit user access permissions associated with Microsoft Entra ID to maintain a strong security posture.

### Remediation

Note: Disabling local authentication on an existing Azure Machine Learning compute instance without deleting and recreating it is not supported. The recommended approach to secure your compute instance is to set it up without local authentication from the beginning.

To create a new compute instance without local authentication:

1. Log in to Azure Portal and search for 'Azure Machine Learning'
2. Select 'Azure Machine Learning'
3. Select the Azure Machine Learning Workspace that the reported compute instance is associated with
4. On the 'Overview' page, click the 'Studio web URL' link to log in to Azure ML Studio
5. A new tab will open for Azure ML Studio
6. In the left panel, under 'Manage' section, click on the 'Compute'
7. Click 'New' to create a new compute instance
8. In the 'Security' tab, under the 'Enable SSH access' section, leave the option disabled to turn off local authentication
9. Select 'Review + Create' to create the compute instance


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-machine-learning-compute-instance-with-local-authentication-enabled.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
