#msgraph — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #msgraph, aggregated by home.social.
-
I'm currently trying to query Entra ID properties if a user.
The commands go like this:Connect-MgGraph -Scopes User.ReadWrite.All
This appeared to work and showed the welcome message.Get-MgUser -Filter "userprincipleName eq '[email protected]'" | select -ExpandProperty EmployeeOrgData(real intuitive stuff).
This failed with the message:Get-MgUser: The 'Get-MgUser' command was found in the module 'Microsoft.Graph.Users', but the module could not be loaded due to the following error: [Could not load file or assembly 'Microsoft.Graph.Authentication'... Assembly with same name already loaded.
So I did some looking, ranGet-Module, sure enough Authentication is loaded, tried runningRemove-Modulebut that didn't help whatever, searched it up and apparently the best way to fix this is to just reinstall the module. OK ffs whatever.Uninstall-Module Microsoft.Graph.
OK, close powershell. Reopen as admin user.You cannot Uninstall blah blah blah. Administrator rights are required.
RunStart-Process powershell -verb runasto elevate.
Get new window, run Uninstall command again.Module not found
heavy exhausted sigh
Open a new powershell window, but version 7 this time,pwshinstead ofpowershell.
Run Uninstall module, completes fine.
Run Install-Module, completes fine.
Run GetMgUser,Authentication needed. Please call Connect-MgGraph.
Run Connect-MgGraph.
Long pause.
There is no further output after the :InteractiveBrowserCredential authentication failed:
The window is now frozen, normally it would open a browser window for login, but it hasn't done that. I cannot close the window, I cannot minimize it, I cannot cancel the command. There is no hidden window on the desktop. I tried to close it with TaskMgr but it failed because it's an admin session.
I'm just so tired and exhausted of interacting with this absolute garbage system, it's all fucking shit, Microsoft produces nothing of any quality any substance it's just endless trash.
#Microsoft #powershell #azure #Entra #msgraph -
Dev Proxy v0.26 with improved mocking, plugin validation, and Docker support | by Waldek Mastykarz & Garry Trinder.
-
Dev Proxy v0.20 with improved simulating API errors and a new API for building integrations.
#m365 #msgraph #devproxy #apis #debugging #testing #graphapi
https://devblogs.microsoft.com/microsoft365dev/dev-proxy-v0-20-with-improved-simulating-api-errors-and-a-new-api-for-building-integrations/ -
Using Dev Proxy to troubleshoot issues with Graph Connectors by Matteo Pagani.
#devproxy #debugging #m365 #msgraph #graphapi
https://www.developerscantina.com/p/dev-proxy-graph-connectors/ -
Now available: Microsoft Graph Windows 365 APIs.
#cloudpc #windows365 #cloud #m365 #msgraph #graphapi
https://techcommunity.microsoft.com/t5/windows-it-pro-blog/now-available-microsoft-graph-windows-365-apis/ba-p/4094550 -
New Microsoft Graph callRecords API capabilities.
#msgraph #m365 #apis #graphapi
https://devblogs.microsoft.com/microsoft365dev/new-microsoft-graph-callrecords-api-capabilities/