is there a way to pull an employee's org structure out of Azure AD? I don't see any graph API for it, so may have to do recursive calls until I reach the top???.
Any suggestions are greatly appreciated. Thanks.
This functionality does exist, you can use the List manager method, you'll have to traverse through the hierarchy though to build out your organisational chart, you cannot build one automatically using the API.
Related
Is there a way to get group of ticket on Azure Logic App instead of getting only one by Key?
I need to get all ticket created over a month and then use a loop to check which one is contain the needed data to add comment on it.
Thank you #Skin for pointing out in the right direction. Fetching data through REST API worked for me. Below is the flow of my Logic app.
GET
https://<YOUR_DOMAIN>.atlassian.net/rest/api/2/search?jql=project=<PROJECTID>&fields=issue,status,name&startAt=0&maxResults=8000
RESULTS
Can anyone help me clarify the benefit(s) (if any) of creating a SendGrid Account thru the Azure Portal as opposed to creating one thru SendGrid.com?
In other words, I’ve seen a few articles where they simply add the SendGrid Nuget Package, then create an account on SendGrid.com obtain an API Key and use it while creating a new SendGridClient(apiKey);
And then…I see a bunch of articles talking about having to create a SendGrid resource inside the Azure Portal. Once created, click Manage (which redirects you to the SendGrid.com website) to obtain an API Key and use it while creating a new SendGridClient(apiKey);
I agree that there are many ways to skin a cat, but I still don’t understand what’s the reason or benefit of creating a SendGrid Account resource in Azure (especially if all I really care about is an API key to be used within my SendGridClient).
What am I missing?
The only thing I can think of right now is if I plan on having a Logic App that will send emails, then I suppose I could use that SendGrid Account created thru Azure for that right?
Anyway...if anyone could help me understand why is there a need to create a SendGrid Account thru Azure that would be great!
Sincerely
Vince
The difference is mainly the benefits you get from the Martket Place one. There is a partnership with Microsoft which provides certain benefits to the end users. One of the highlight benefit is that,
As part of the initial sign up, we are including a free package with
25,000 free emails each month.
My company is using G-suite and I'd like to analyze basic organization structure details like who's my manager? or who do I manage?
Is this possible using the GoogleApis?
Thanks,
Aubrey
You can definitely consult this information, not by using Gmail API, but by using the G Suite Admin SDK.
Particularly, you may be interested in the following endpoints:
Retrieving a user
Retrieving an organizational unit
You may also want to see the Quickstart which will help you set up an application that can retrieve this data. There are many languages supported (you can choose the one you prefer on the left sidebar).
I'm working on accessing document libraries for Sharepoint sites via Mircosoft Graph, but haven't had any luck so far.
Here is my setup:
I have two sites
https://mydomain.sharepoint.com
https://mydomain.sharepoint.com/teams/MyTestSite
When I make an api call to https://graph.microsoft.com/v1.0/drives, the response doesn't contain id of document library for second site (https://mydomain.sharepoint.com/teams/MyTestSite).
I have gone through documentation and haven't found anything on how to accomplish this. If anyone got any idea about this, please share.
Thanks.
I was able to figure out a solution for this. A sharepoint site is represented as a Group in Office 365. I found that out by doing some hit and trial.
So, after looking up their documentation for anything related to a Group, I got to this: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/group
And, by using the List groups endpoint I was finally able to get a list of all the Sharepoint sites which the authenticated user can access.
This API call requires Group.Read.All scope while requesting access token and only Admin users can authorize this scope. So, this will need a separate interface for Admin to list groups, potentially store the group-user mapping on my app for the user to be able to make api call (/groups/{group-id}/drive/items/{item-id}) related to the drive.
The V1.0 API has a way to list your doc lib as follows
GET https://graph.microsoft.com/v1.0/sites/mydomain.sharepoint.com:/Teams/MyTestSite:/drives
Hope this helps.
The beta API also exposes a Sharepoint endpoint.
You can also use the path if you already know your site structure:
GET https://graph.microsoft.com/beta/sharepoint:/sites
Really straitghforward question: Is it possible to create one or more groups in a group in Windows Azure AD?
The use case: Everytime a new group is created on Outlook Office 365, a group is created at the Windows Azure AD. So far so good. However, the scenario presented to me is that my application could pontentially create hundreds of groups. So in order to make things clean, I thought of create a main group with several sub groups (like directory and sub directories), but I don't seem to find any obvious option to accomplish that.
May I kindly ask for guidance on this, if it's possible or not? If it's possible, how could it be done? If not, is there any intention to implement something alike?
Many thanks in advance.
Groups can be member of Groups by calling:
POST https://graph.windows.net/myorganization/groups/{object_id}/$links/members?api-version
With the request body containing a URL to your DirectoryObject (in your case, it would be a Group)
{
"url": "https://graph.windows.net/myorganization/directoryObjects/3eb6055a-baeb-44d4-a1ea-2fee86d8891b"
}
Here are the docs: Azure AD Graph API Docs