Delve
9 TopicsHow to read Delve Custom Aditional Field from Graph API
Hi All, Could you please explain how to read Delve Custom Aditional Field for all users from Graph API we are able to read AAD field of all users from graph API via https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fusers%3F%24top%3D1&data=05%7C01%7Cashish.tiwari%40infoprolearning.com%7Cf14e94e95c89494fd2ad08db67f2824a%7C0f8a5db06b604ca89fc98b2ae1cb809e%7C0%7C0%7C638218063480674801%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=II2q%2BBv0uxnjPsTHtif7c2q2XVigfHB7msDv%2F504oFw%3D&reserved=0 we need to sync our custom .net application from via AAD and Delve user aditional custom field.448Views0likes0CommentsVariable in Graph Request Body (PowerShell)
Working off the following URL: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fpasswordauthenticationmethod-resetpassword%3Fview%3Dgraph-rest-beta%26tabs%3Dhttp&data=04%7C01%7CJonesL%40duvalschools.org%7C997660b94b6e446de25508d9370bfc97%7C8deb1d4dd0a44d0489aef7076cbaa9fb%7C1%7C0%7C637601346885178418%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ZVLJ3SH%2FHpLXNgV1uJAZqdCpLfvKqy%2Bb3kn7epZeUDA%3D&reserved=0 When I execute the following command in my PowerShell script it works flawlessly $PWCBody = '{ "newPassword" : "ssd$$FGW!!", "forceChangePasswordNextSignIn" : true }' $PWCURI = "https://graph.microsoft.com/beta/users/XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/authentication/passwordMethods/XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resetPassword" $PWChange = Invoke-RestMethod -Uri $PWCURI -Headers $HeaderDelegate -body $PWCbody -Method POST -ContentType "application/json" However, when I change the Request Body newPassword to variable I get a (403) Bad Request. $PWCBody = '{ "newPassword" : $password, "forceChangePasswordNextSignIn" : true }' How can i handle a variable in a Requested Body that's surrounded by single quotes? Thank You, -LarrySolved6.4KViews0likes7CommentsUnsure about the Output ID of the get-mgusersettingiteminsight command
I am trying to find out the status of the Item Insight setting of some user. The output ID i get in my test tenant is different from the User-ID. What ID do i get as the output of this cmd. Should this not be the user ID?Solved1.4KViews0likes1CommentHow to get a group specific setting?
I have read this: https://docs.microsoft.com/en-us/graph/api/groupsetting-get?view=graph-rest-1.0&tabs=http But i dont understand how to get the setting ID. GET /groups/{id}/settings/{id} i want to check if a group have the setting https://docs.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties set to true or false. i do not want to do this in powershell, i want to figure out a graph URL to do this. but since i seem to need the setting ID i am stuck?1.5KViews0likes5CommentsError when calling "Update User"
I am trying to update users' profiles projects and skills attributes: calling: https://graph.microsoft.com/v1.0/users/ged@standswell.com@xxx.com with body: {"pastProjects": ["a","b" ]} ...works fine.... but calling: https://graph.microsoft.com/v1.0/users/ged@standswell.com@xxx.com with body: {"pastProjects": ["a","b" ]} returns { "error": { "code": "-1, Microsoft.Office.Server.Directory.DirectoryObjectUnauthorizedAccessException", "message": "Attempted to perform an unauthorized operation.", "innerError": { "date": "2021-04-21T15:20:09", "request-id": "xxx", "client-request-id": "xxx" } } I know that there is a note in the documentation that says these fields are not accessible to the application and require delegated permissions: could someone tell me if there is another way of doing this?1.1KViews0likes0CommentsHelp with using Power Automate/Graph connector to write to 365 Profile
I have followed this excellent demo to configure a custom Power Automate connector and use Graph to create a new Group and Team: https://docs.microsoft.com/en-au/graph/tutorials/power-automate However, the next step is more difficult. What I want to do is to use a Power Automate flow to write to any users' 365 profile to update projects and skills which I can then explore through Delve. Presumably instead of granting privs to read/write to Groups, I need to grant privs to write to 'User' but could anyone help me out with the JSON code to do so or to point me at the DOM reference that defines the User profile data model?460Views0likes0CommentsHow to extract MS Teams user activity report using powershell
Dears, I need to create a schedule PowerShell script that get from Microsoft graph the teams user activity report. I check this post: Microsoft Graph API for Teams User Activity https://docs.microsoft.com/en-us/graph/api/reportroot-getteamsuseractivityuserdetail?view=graph-rest-1.0 How to implement these steps. Can you please explain with example. Thank you in advance778Views0likes0CommentsDelve profile properties search experience
Today when I'm searching anywhere in Microsoft Search, I don't get a result for competence, expertise, projects, hobbies etc unless I write a complete word. E.g. If my expertise is Microsoft Search and someone write Microso in the search field, they won't get a hit. Does anyone know if improvements of these matters to the search experience for Delve profile properties is in the roadmap?809Views0likes0Comments