# Establecer foto

### Descripción

Descarga una imagen JPEG desde una URL y la carga como la foto de perfil del usuario. Esto es útil para establecer o actualizar avatares de usuario en Microsoft 365.

### Ubicación

Usuario → Userinfo → Set Photo

**Nombre completo del runbook**

rjgit-user\_userinfo\_set-photo

### Permisos

#### Permisos de aplicación

* **Tipo**: Microsoft Graph
  * User.ReadWrite.All

### Parámetros

#### UserName

Nombre principal de usuario del usuario de destino.

| Propiedad            | Valor  |
| -------------------- | ------ |
| Requerido            | true   |
| Valor predeterminado |        |
| Tipo                 | String |

#### PhotoURI

URL a una imagen JPEG que se utilizará como foto de perfil.

| Propiedad            | Valor  |
| -------------------- | ------ |
| Requerido            | true   |
| Valor predeterminado |        |
| Tipo                 | String |

[Volver a la vista general de la referencia de Runbook](/es/automatizacion/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/user/userinfo/set-photo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
