# mod\_microsoft

Source: https://zotonic.com/docs/2245/mod_microsoft

URI: https://zotonic.com/id/2245

Language: en



Adds logon using the Microsoft identity platform.

If enabled then on `/admin/authentication-services` a panel is added for the Microsoft identity platform.

Here the following can de configured:

- Application ID: as found in the app registration
- Client Secret: as found in the app registration
- Scope: space separated list of scopes that you want the user to consent to. Examples are: email, offline\_access and profile. The openid scope is always added automatically. Defaults to `email profile`.
- Tenant: Control who can sign in. Allowed values are: common, organizations, consumers, and tenant identifiers. Defaults to `common`.

On the [Azure Portal App registrations](https://go.microsoft.com/fwlink/?linkid=2083908) an App can be registered and configured.

The redirect path for the app is shown on top of the `/admin/authentication-services` screen and is of the format: `https://example.com/oauth-service/redirect`

Accepted Events
---------------

Delegate callbacks:

- `event/2` with `submit` messages: `admin_microsoft`.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2245?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2245?language=en>)
