Forum Discussion
oliwa66
May 28, 2023Copper Contributor
How to set "send-as" permissions on a created email box
Hi, i'd like to know if the graph api provides any endpoint to set the permissions for a newly created azure ad user to allow "send-as" permissions. the user has an email box and when i go into port...
oliwa66
May 28, 2023Copper Contributor
what a pity, do i have to use powershell also when i want to change e.g. the calendar of a user so it shows calender weeks, changing language and time, share a calendar etc.?
if possible, i'd like to get rid of powershell for some reasons (because of incompatibility issues version 5 vs 7, my application is python and i dont like executing .ps1 files, etc.)
if possible, i'd like to get rid of powershell for some reasons (because of incompatibility issues version 5 vs 7, my application is python and i dont like executing .ps1 files, etc.)
VasilMichev
May 29, 2023MVP
"Owner" actions can (mostly) be performed via the Graph API, but delegating Send As is considered an admin operation, and there is zero support for such in the Graph currently 😕
- oliwa66May 29, 2023Copper Contributoris it still an owner-action when i do that as admin for a user account, e.g. change the calendar to display weeks different, set timezone, language etc.?
if there is a graph api endpoint that i can access with my admin creds and change that for the user, would be great- VasilMichevMay 30, 2023MVPHave you looked at https://learn.microsoft.com/en-us/graph/api/user-update-mailboxsettings?view=graph-rest-1.0&tabs=http
- oliwa66Jun 07, 2023Copper Contributor
VasilMichev i tested it with:
Set-MailboxCalendarFolder -PublishEnabled $true -Identity email address removed for privacy reasons:\Calendar -DetailLevel FullDetails -Confirm:$false
Unfortunately i get an error that the policy blocks anonymous sharing, which is of course also not what i want. I assume somehow i have to again use the "Default" user to share access to the calendar company wide. Can you give me a hint how to achieve that?