# Connect Entra

## Connect Entra

```powershell
Connect-MgGraph -Scopes 'User.Read.All'
```

## Use Find-MgGraphCommand <a href="#use-find-mggraphcommand" id="use-find-mggraphcommand"></a>

**Example: Use a URI to get all related cmdlets**

```powershell
Find-MgGraphCommand -Uri '/users/{id}'
```

**Example: Pass a command and get the URI it calls**

```powershell
Find-MgGraphCommand -Command 'Get-MgUser'
```

**Example: Pass a command and get the permissions required**

```powershell
Find-MgGraphCommand -command Get-MgUser | Select -First 1 -ExpandProperty Permissions
```

**Example: Search for commands using URI wildcard**

```powershell
Find-MgGraphCommand -Uri ".*users.*" -Method 'Get'
```
