w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories

Accessing another user calendar using the O365 REST API from a single domain admin account


Thanks for your question! Today, the Office 365 Calendar REST APIs only allow retrieving or updating calendar of the authenticated user. We are really close to adding support for a service account that is granted access by an admin to all users in the tenant, and can retrieve and update calendars of users in the tenant without the user being present. So, your scenario should be unblocked in a few weeks. Stay tuned for an announcement on how to set up and use service accounts.

[UPDATE]: Alternately, you can use Exchange Web Services (EWS) SOAP APIs now to do this. Please check out how application impersonation works and here for using .NET EWS Managed API for app impersonation. The client side APIs available are .NET EWS Managed API and EWS Java API in case you use one of these runtimes.

[UPDATE]: Support for service accounts for REST APIs is now available. Please see our blog announcement for more details and let us know if you have any questions. Thanks for your patience.


Categories : C#

Related to : Accessing another user calendar using the O365 REST API from a single domain admin account
Using Google API service account get all domain users' calendar list
Use only this : f = open('PK12_File', 'rb') key = f.read() f.close() credentials = SignedJwtAssertionCredentials(service_account_name=client_email,private_key=key, scope=Calendar_SCOPE,sub="admin_account") http = httplib2.Http() http = credentials.authorize(http) return build('calendar', 'v3', http=http)

Categories : Python
Google Calendar API v3 domain wide delegated service account on PHP
Try this: $cred = new Google_Auth_AssertionCredentials( $service_account_name,, array('https://www.googleapis.com/auth/calendar'), $key, 'notasecret', 'http://oauth.net/grant_type/jwt/1.0/bearer', 'some.email@our.domain.com' ); Tell Google who is the person you want to impersonate, and then you will be able to operate everything of google calendar for this user.

Categories : PHP
Retrieve the list of users in a Google Apps Domain with a non-admin account
Depends on what you think an admin account is. Long ago the user roles were just "regular" and "admin". Now you can choose from a fine-grained set of permissions and define a role name for them. "Superadmin" is now a built-in role that has every permission possible. So, if you define a role which can retrieve the user list and assign it to a user I wouldn't call it an admin account. You need to

Categories : Google Apps Script
Having EKCalendarChooser Issues Only When a Single Calendar Account is Present
I had the same problem. After a lot of "trial and error" I figured out, that EKCalendarChooser must be the root view controller of an UINavigationController: EKEventStore *eventStore = [[EKEventStore alloc] init]; EKCalendarChooser *calendarChooser = [[EKCalendarChooser alloc] initWithSelectionStyle:EKCalendarChooserSelectionStyleMultiple displayStyle: EKCalendarChooserDisplayWritableCalendarsOn

Categories : IOS
Powershell - Invoke command access denied while not running under domain admin account
You should probably read up on PSSessionConfiguration before you do this, so you understand the implications, starting with help about_Session_Configurations First, create a domain group called 'RODC PowerShell Users'. Put yourself in it, wait for replication, log off and on again. Check that you're in this group. Second, from an elevated shell on the RODC, run this: Set-PSSessionConfigura

Categories : Powershell
© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.