> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/integrations/office-365/activities/calendar/add-location.md).

# Add Location

Adds location to an event.

This activity adds a location to a user-specified event using the Microsoft Graph [Update event](https://docs.microsoft.com/en-us/graph/api/event-update?view=graph-rest-1.0\&tabs=http) API.

### Input

* **Connection Id:** [`GraphServiceClient Variable`](/getting-started/rpa-studio/variables.md#graphserviceclient) <mark style="color:red;">`Required`</mark>\
  Specifies the office 365 connection id.
* **Account:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)\
  Specifies an email address with which to interact. This property can include any shared mailbox to which the current user has access rights. If the property field is left empty, the current user's account is used. This is an **optional** property.
* **Event:** [`Object Argument`](/getting-started/rpa-studio/arguments.md#types-of-arguments)  <mark style="color:red;">`Required`</mark>\
  Specifies the event as [Event ](/getting-started/rpa-studio/variables.md#event)to which the location is to be added. We can also specify the output variable of either the [Create Event](/integrations/office-365/activities/calendar/create-event.md) activity or [Search Events](/integrations/office-365/activities/calendar/search-events.md) activity (which is an Event or Event\[ ]) directly as input in this property. If we are using the Events property of **Search Events** activity then we can directly specify the element in the array. For example : Events\[1].
* **Location Name:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)  <mark style="color:red;">`Required`</mark>\
  Specifies the name of the event location.

### Physical Address

The following properties under Physical Address are optional and any values that are entered in these properties will be added after the **Location Name** in the event location field.

* **City:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)\
  Specifies the city of the event location.
* **Country or Region:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)\
  Specifies the country or region of the event location.
* **Postal Code:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)\
  Specifies the postal code of the event location.
* **State:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)\
  Specifies the state of the event location.
* **Street:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)\
  Specifies the street of the event location.

### Room

* **Room Email Address:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)\
  Specifies the email address of the attendee (if required) that is to be added to the event along with the location and changes the [Location Type](https://docs.microsoft.com/en-us/graph/api/resources/location?view=graph-rest-1.0) to Conference Type.
