I am querying Azure AD with Microsoft Graph API and I need to get AD-properties like "homePhone", "otherPhone" and "description" from users.
I have not seen any explicit mention in the API reference about certain properties being unobtainable, but looking at the user resource type (https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0) there seems to be alot of properties missing.
Am I correct in assuming that these properties can't obtained at the moment?
As #Jan hajek said, All Azure AD Directory object properties are not present in Windows AD objects. There is an alternative solution for this is you need to added a custom attribute on the Group schema on the local AD, and then configured it to sync as an extension property to Azure. Please go through this Directory extensions document.
Related
So we use some custom extension attributes and our B2C and we are trying to filter on some missing data.
https://graph.microsoft.com/beta/users?$count=true&$filter=CustomExtension eq 'blah'
Im using beta simply for the ease of seeing the data.
However, come to find out doing my research that the customextension does not get applied to the B2C account.
Is there a way to use the filter to look for custom extensions that are NOT on the users accounts?
I need a count of all the users that do not have this customextension.
If the custom attribute is created using the B2C users' portal then the custom attribute should looks something like "extension_<AttributeName>" and if its created using MS Graph APIs in the B2C tenant, then it custom attribute would look something like "extension_<b2c-extensions-app-guid>_<AttributeName>".
Can you please try create a filter something like:
https://graph.microsoft.com/v1.0/users/?$select=displayName,id,extension_10a6691fcea1415cb0836f5d9f423d55_TShirtSize&$filter=startswith(extension_10a6691fcea1415cb0836f5d9f423d55_TShirtSize, 'L')
This is a sample query, that I had used to list all users who has a custom attribute TShirtSize with a value of 'L'.
In Azure portal on a managed device detail page it shows two types of users,
The "Primary" user and the "Enrolled by" user. I'm trying to figure out how I can retrieve the latter
using the Microsoft Graph API. What I've tried so far is pretty much every managed device related API.
The ones I mainly use are the https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-list?view=graph-rest-1.0 and https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-get?view=graph-rest-1
I've also looked at pretty much all the beta variants of the related API documentation if and when they are available. My problem is that it seems like there is no way to retrieve this information.
You have to query the related object of the managed device
https://graph.microsoft.com/beta/devicemanagement/manageddevices/b32d84d4-50da-469f-a65d-2f1c30f8da67/users
Also you will get object id of the primary owner.
https://www.youtube.com/watch?v=CTEs_lHtZJ4&list=PL8wOlV8Hv3o9TUJxUR9T78TevVjtsRAup&ab_channel=ConceptsWork
https://www.youtube.com/watch?v=yw5Cz5rO6_Y&list=PL8wOlV8Hv3o_KgAx8JmnqM4G97U0vPR9l&ab_channel=ConceptsWork
I'm using the Graph API to construct a simple Dashboard for Teachers and Students. Everything works well except that when a Student is added they do not get access to the Class Notebook and they don't get a Section Group for them created in the Class Notebook.
Notably, if I open the Class in Microsoft Teams and add or remove anyone from it then all of the users that have been added through the API get access and their section groups created correctly.
This behavior seems to happen both with .Education.Classes["..."].Members and Groups["..."].Members. The Members added this way also don't show up in the Teams "Manage Members" interface but I'm not concerned about that.
I'm using the v1.0 endpoint, and OneDrive and Sharepoint permissions all work as expected.
My question is do I have to do something extra to get the Class Notebook updated with the membership or are there some additional properties that need to be sent when adding a user or is this just a bug?
The Class Notebook doesn't automatically watch the group membership. Rather experiences that add members need to use Class Notebook APIs to do the matching update.
Unfortunately, the Class Notebook APIs aren't yet available directly on the Microsoft graph, so you have to switch over to the OneNote API endpoint (refresh your token with that as the resource) and make the call there.
This is the API you need
I am using odata to query Dynamics CRM Online 2013. I am trying to track changes against particular entities. For example, I want to be able to see Old Values and New Values for Opportunities, as you would see in the Summary View. Auditing is enabled for the entities but the most I can see via odata is whether a field of an entity was changed or not, and when it was changed.
Q. If "Change Tracking" is enabled will that expose another odata entity that will give me those changed values?
I am pretty sure Audit entity data is not exposed via OData.
Please find the url for the actual usage of Change Tracking feature.
http://www.powerobjects.com/2015/10/26/change-tracking-in-dynamics-crm-2015/
Audit table is not consumable through Sdk calls.. neither odata nor soap.
On premise will allow to query using sql queries but still data is "," "~" separated.
On the other hand Change tracking is accessible through sdk call using RetrieveEntityChangesRequest message. Pls refer the link below.
But this is for primary usage of integration services to identify the modified records for upstream/downstream systems from last cycle.
https://msdn.microsoft.com/en-us/library/dn932130.aspx
Update: Reg Audit, we have some limited options though - https://yanivrdt.wordpress.com/2016/01/08/retrieving-audit-history-records-via-api/
In Google Analytics a web-property may hold more than a single profile, in which case one of them is suppose to be defined as the default one (in GA you browse inside it you can see a [DEFAULT] tag by its name).
Using the Legato gem, is there a way of querying whether the profile is the default one or not? is there a way to pass parameters to add this information to the request?
Unfortunately, this appears to be an API limitation.
Browsing the developer reference for the API v3, the profile representation contains no property indicating its status among siblings.