Implement Azure Security for Developers
Anushika Agarwal
Cloud Data Engineer
Unified API to access Microsoft 365 data
One endpoint for all services
PeopleSphere uses:
Graph connects them all
Unified API: One endpoint to access Microsoft Cloud service resources
Request Components:
Method: GET
, POST
, PATCH
, etc.
Version: v1.0
, beta
Resource: users
, groups
,etc.
Query Parameters: $select
, $filter
Headers: Authorization, Content-Type
Supported Methods:
GET: Retrieve data
POST: Create new data
PUT: Replace data completely
PATCH: Update existing data
DELETE: Remove data
https://graph.microsoft.com/v1.0/groups
Stable APIs
beta
https://graph.microsoft.com/beta/groups
`
The specific data you're interacting.
Example:
/users
, /me
/groups
/users/{userId}/events
Options to filter, sort, or select specific data
Select:
$select=id,displayName
Filter:
$filter=startswith(displayName, 'John')
Top:
$top=5
Carry meatadata in HTTP requests and responses
Two types of headers: Standard & API-Specific
Bearer {access_token}
application/json
30
https://graph.microsoft.com/operationStatus
Implement Azure Security for Developers