Tag Archives: microsoft
Get-MgUser Method not found error
Hi,
Hope this is the correct forum for a question like this. If not, please let me know.
Just trying to learn Graph to do some basic Azure user account management. But right off the bat I’m running into an error I can’t seem to correct.
I connect to Graph using:
Connect-MgGraph -Scopes “User.ReadWrite.All”
The browser pops up and prompts me for credentials and I enter my global admin credentials.
Then I type:
Get-MgUser -All
And I get the following message:
Get-MgUser_List: Method not found: ‘System.Net.Http.HttpClient Microsoft.Graph.PowerShell.Authentication.Helpers.HttpHelpers.GetGraphHttpClient(Microsoft.Graph.PowerShell.Authentication.IAuthContext)’.
Odd thing is, yesterday this was working.
This is when trying to run this from Visual Studio Code. If I run it from the old PowerShell ISE, it works fine. But I read somewhere that Graph is best run from PowerShell 7, which is what is installed in my Visual Studio Code.
Any thoughts on this? Am I missing some kind of configuration setup in VSC?
Any help is greatly appreciated, thanks in advance!
Hi,Hope this is the correct forum for a question like this. If not, please let me know. Just trying to learn Graph to do some basic Azure user account management. But right off the bat I’m running into an error I can’t seem to correct. I connect to Graph using: Connect-MgGraph -Scopes “User.ReadWrite.All”The browser pops up and prompts me for credentials and I enter my global admin credentials. Then I type:Get-MgUser -All And I get the following message:Get-MgUser_List: Method not found: ‘System.Net.Http.HttpClient Microsoft.Graph.PowerShell.Authentication.Helpers.HttpHelpers.GetGraphHttpClient(Microsoft.Graph.PowerShell.Authentication.IAuthContext)’. Odd thing is, yesterday this was working. This is when trying to run this from Visual Studio Code. If I run it from the old PowerShell ISE, it works fine. But I read somewhere that Graph is best run from PowerShell 7, which is what is installed in my Visual Studio Code. Any thoughts on this? Am I missing some kind of configuration setup in VSC? Any help is greatly appreciated, thanks in advance! Read More
Graph API to check if user is still editing the document
Hi,
I am trying to find an API to see if user is still editing the document in Office Online.
Appreciate your thoughts.
Thanks,
Mahesh
Hi, I am trying to find an API to see if user is still editing the document in Office Online.Appreciate your thoughts. Thanks,Mahesh Read More
Using CBA with a device certificate on Windows Server
Hi,
will it be possible to use CBA as “filter for devices” some day?
e.g. A Windows Server which is not hybrid joined or managed by Intune could then be identified as a “valid device” which is allowed to access Admin portal.
Like a RADIUS Auth.
BR
Stephan
Hi, will it be possible to use CBA as “filter for devices” some day?e.g. A Windows Server which is not hybrid joined or managed by Intune could then be identified as a “valid device” which is allowed to access Admin portal.Like a RADIUS Auth. BRStephan Read More
Creating a new SharePoint news post type
I have a existing SharePoint site which has two types of News posts that you can post (under post type – a “news post” and “announcement”). I would like to create a new/another post type called “community news” for example.
So on the home page, I have three sections of news items, one for “news”, one for “announcements” and a third for “community news”.
Does anyone know how I can create this please?
I have a existing SharePoint site which has two types of News posts that you can post (under post type – a “news post” and “announcement”). I would like to create a new/another post type called “community news” for example.So on the home page, I have three sections of news items, one for “news”, one for “announcements” and a third for “community news”.Does anyone know how I can create this please? Read More
How can I use multiple connected variable in ADF to be pass in my Databricks notebook
Hi,
I need 3 connected variables which I need to use in my databricks notebook.
This is the context of the variables that I need:
filepath: root/sid=test1/foldername=folder1/
sid: path identifier, this is needed so only correct files in the folder will be loaded
foldername: every “sid” may have multiple folder so I need to identify the foldername. I will also use this to partition my data for duplicates
tablename: this is the target table where I need to load the files
Basically, the two variables are predefined which is stored in a csv file.
sidtablenametest1test1_tbltest2test2_tbl
My source which is in blob storage looks like this:
And this is what I want for my variable
Looking forward to your help.
Hi, I need 3 connected variables which I need to use in my databricks notebook. This is the context of the variables that I need:filepath: root/sid=test1/foldername=folder1/ sid: path identifier, this is needed so only correct files in the folder will be loadedfoldername: every “sid” may have multiple folder so I need to identify the foldername. I will also use this to partition my data for duplicatestablename: this is the target table where I need to load the files Basically, the two variables are predefined which is stored in a csv file.sidtablenametest1test1_tbltest2test2_tbl My source which is in blob storage looks like this: And this is what I want for my variable Looking forward to your help. Read More
Remote desktop licensing mode is not configured
We have a Windows 2019 Server. It is workgroup server & not part of domain. Its been running fine since 3 to 4 years. We are seeing below message when trying to RDP to server since last 3 months. 2 concurrent RDP connections are enough & we dont need more than 2. Hence, dont need any CAL or user licenses.
Please note that I have tried stopping Remote Desktop services in order to troubleshoot the issue. But, my RDP connection immediately got disconnected & I was unable to RDP. To fix this RDP issue, opened services.msc in my laptop & with ‘connect to another computer’ option, I connected to server’s services.msc & started Remote Desktop services again. I was then able to RDP. So, realized RDS need to be running in order to RDP.
Please guide on how to fix this issue so that we will be able to RDP even after grace period.
We have a Windows 2019 Server. It is workgroup server & not part of domain. Its been running fine since 3 to 4 years. We are seeing below message when trying to RDP to server since last 3 months. 2 concurrent RDP connections are enough & we dont need more than 2. Hence, dont need any CAL or user licenses.Please note that I have tried stopping Remote Desktop services in order to troubleshoot the issue. But, my RDP connection immediately got disconnected & I was unable to RDP. To fix this RDP issue, opened services.msc in my laptop & with ‘connect to another computer’ option, I connected to server’s services.msc & started Remote Desktop services again. I was then able to RDP. So, realized RDS need to be running in order to RDP.Please guide on how to fix this issue so that we will be able to RDP even after grace period. Read More
Force SSL DB Connection
As per AWS Guidelines we can force all connections to DB to use SSL & Client doesn’t have to do any work to use SSL. Does it mean that whatever value we pass on to Connection String for following parameters, it’ll still use SSL or we need to be specific about both these parameters?
TrustServerCertificate=true;Encrypt=true
Kindly advice.
As per AWS Guidelines we can force all connections to DB to use SSL & Client doesn’t have to do any work to use SSL. Does it mean that whatever value we pass on to Connection String for following parameters, it’ll still use SSL or we need to be specific about both these parameters? TrustServerCertificate=true;Encrypt=true Kindly advice. Read More
Teams Forms
I created a form titled ‘Daily Timesheet’ for my staff to fill out the activities they have been doing daily. I have laid out the date component at the top, comprising month, day and year. My question is, if I would like to obtain the number of week of a month automatically as per the date they have filled out on the top component, what should I actually do? Is there any specific calculated value, validation or something else that I could input to enable the week number appearing automatically as the month, day and year have been filled out?
I created a form titled ‘Daily Timesheet’ for my staff to fill out the activities they have been doing daily. I have laid out the date component at the top, comprising month, day and year. My question is, if I would like to obtain the number of week of a month automatically as per the date they have filled out on the top component, what should I actually do? Is there any specific calculated value, validation or something else that I could input to enable the week number appearing automatically as the month, day and year have been filled out? Read More
Understanding the Right-Click Issue in this Image
In Windows 11, when the Spotlight background feature is enabled, you can access additional information about the picture by right-clicking the Learn about this picture icon. A dialog box will appear with relevant details.
However, if you switch to the classic context menu by modifying the registry settings, right-clicking on Learn about this picture will only display an Open option, similar to double-clicking. This opens a full-screen web page without the convenient shortcuts available in the default pop-up box.
Unfortunately, I could not discover any workaround to reinstate the pop-up functionality while using the classic context menu. If there is a way to achieve this, I may have overlooked it. Let me know if you need further assistance.
In Windows 11, when the Spotlight background feature is enabled, you can access additional information about the picture by right-clicking the Learn about this picture icon. A dialog box will appear with relevant details.However, if you switch to the classic context menu by modifying the registry settings, right-clicking on Learn about this picture will only display an Open option, similar to double-clicking. This opens a full-screen web page without the convenient shortcuts available in the default pop-up box.Unfortunately, I could not discover any workaround to reinstate the pop-up functionality while using the classic context menu. If there is a way to achieve this, I may have overlooked it. Let me know if you need further assistance. Read More
Create a Taskbar Shortcut for Notepad
I have returned once more!
I have screenshots of a desktop shortcut for a Network Attached Storage device’s settings page that I want to pin to either Start or the Taskbar. I recently discovered with your guidance that for certain shortcuts, the term “Explorer” needs to be included before the shortcut’s target. However, there is no such option available for this particular shortcut. In the past, you could drag these shortcuts onto the taskbar in Windows 10 and earlier versions, but that no longer seems to be possible. Can someone offer assistance, please?
I have returned once more! I have screenshots of a desktop shortcut for a Network Attached Storage device’s settings page that I want to pin to either Start or the Taskbar. I recently discovered with your guidance that for certain shortcuts, the term “Explorer” needs to be included before the shortcut’s target. However, there is no such option available for this particular shortcut. In the past, you could drag these shortcuts onto the taskbar in Windows 10 and earlier versions, but that no longer seems to be possible. Can someone offer assistance, please? Read More
System Issue After Reboot: Seeking Assistance in Identifying the Root Cause
Today, when I rebooted my system, a strange issue occurred. Despite running scans that detected no problems, including chkdsk, sfc, and using Avast antivirus, I encountered a glitch where Explorer would not respond.
After rebooting with diagnostic level boot via msconfig and disabling all programs except Microsoft’s services, Explorer worked fine. However, as I gradually enabled Microsoft services, the issue reappeared. I have repeated this cycle multiple times but haven’t been able to identify the specific service causing the problem.
I am hesitant to perform a clean install as I recently switched from the insider to the public version, and I never experienced this issue while on the insider versions. If anyone has any insights or solutions to this perplexing problem, I would greatly appreciate it. The image attached shows how Explorer appears when all Microsoft services are running, contrasting with the expected minimal appearance when only essential services are active. Thank you in advance for any assistance provided.
Today, when I rebooted my system, a strange issue occurred. Despite running scans that detected no problems, including chkdsk, sfc, and using Avast antivirus, I encountered a glitch where Explorer would not respond. After rebooting with diagnostic level boot via msconfig and disabling all programs except Microsoft’s services, Explorer worked fine. However, as I gradually enabled Microsoft services, the issue reappeared. I have repeated this cycle multiple times but haven’t been able to identify the specific service causing the problem. I am hesitant to perform a clean install as I recently switched from the insider to the public version, and I never experienced this issue while on the insider versions. If anyone has any insights or solutions to this perplexing problem, I would greatly appreciate it. The image attached shows how Explorer appears when all Microsoft services are running, contrasting with the expected minimal appearance when only essential services are active. Thank you in advance for any assistance provided. Read More
Desktop Save Option Missing
Hey there,
I’m diving into the world of Windows 11 for the first time, so I seek your guidance with this inquiry. Something unexpected has occurred. When attempting to download a file, I noticed that the usual option to save it directly to my desktop is no longer available. To add to the mystery, the Desktop icon is nowhere to be found in Windows Explorer.
I’m baffled as I haven’t made any significant changes recently. Your insights into this peculiar situation would be immensely appreciated.
Just a heads up, my system is up-to-date with all the latest updates, and I’m running Windows 11 Pro 23H2 (OS Build 22631.2861).
Thanks a ton for your assistance!
Hey there, I’m diving into the world of Windows 11 for the first time, so I seek your guidance with this inquiry. Something unexpected has occurred. When attempting to download a file, I noticed that the usual option to save it directly to my desktop is no longer available. To add to the mystery, the Desktop icon is nowhere to be found in Windows Explorer. I’m baffled as I haven’t made any significant changes recently. Your insights into this peculiar situation would be immensely appreciated. Just a heads up, my system is up-to-date with all the latest updates, and I’m running Windows 11 Pro 23H2 (OS Build 22631.2861). Thanks a ton for your assistance! Read More
Windows 11 Freezing and Crashing Issue
Hello,
I’ve been encountering persistent computer issues since transitioning from Windows 10 to a fresh installation of Windows 11. The problems arise in the form of random freezes, gradually locking up all functions. This occurs during various activities like watching videos, gaming, or simply reading. Typically, I use dual monitors with YouTube on one and a game/program on the other.
When the freezing starts, it initiates with windows and spreads to other programs. Although I can still interact in a limited manner, such as pressing buttons that respond but with no new loading, the system essentially becomes unresponsive. Ultimately, I’m forced to restart using the power button, as attempting a reset through Windows is ineffective.
The challenge lies in the lack of identifiable issues or errors in the Windows logbook, suggesting that the OS isn’t detecting the problem. Despite trying various recommended solutions, like driver reinstalls and BIOS adjustments, the freezing persists, leaving me perplexed.
I seek assistance in identifying overlooked or missed details that may be causing these ongoing disruptions. Your insight and guidance would be greatly appreciated. Feel free to request additional information, and my system specs are also accessible on my profile for reference.
Thank you in advance for any support you can offer.
Hello, I’ve been encountering persistent computer issues since transitioning from Windows 10 to a fresh installation of Windows 11. The problems arise in the form of random freezes, gradually locking up all functions. This occurs during various activities like watching videos, gaming, or simply reading. Typically, I use dual monitors with YouTube on one and a game/program on the other. When the freezing starts, it initiates with windows and spreads to other programs. Although I can still interact in a limited manner, such as pressing buttons that respond but with no new loading, the system essentially becomes unresponsive. Ultimately, I’m forced to restart using the power button, as attempting a reset through Windows is ineffective. The challenge lies in the lack of identifiable issues or errors in the Windows logbook, suggesting that the OS isn’t detecting the problem. Despite trying various recommended solutions, like driver reinstalls and BIOS adjustments, the freezing persists, leaving me perplexed. I seek assistance in identifying overlooked or missed details that may be causing these ongoing disruptions. Your insight and guidance would be greatly appreciated. Feel free to request additional information, and my system specs are also accessible on my profile for reference. Thank you in advance for any support you can offer. Read More
New User can’t view the Outlook Delegates page in Microsoft 365
Hi everyone,
we are having trouble with one user who cannot open the “Delegate Page” of his account.
There was no migration – just an hybrid created user with an RemoteMailbox.
I tried this Cannot view Outlook Delegates page – Exchange | Microsoft Learn – but it does not fix it.
Created a new profile in Outlook 365 – also not working
Changed the language to english – also not working.
It must be some kind of permission error in his mailbox – can anyone tell me where to look next?
BR
Stephan
Hi everyone, we are having trouble with one user who cannot open the “Delegate Page” of his account.There was no migration – just an hybrid created user with an RemoteMailbox. I tried this Cannot view Outlook Delegates page – Exchange | Microsoft Learn – but it does not fix it.Created a new profile in Outlook 365 – also not workingChanged the language to english – also not working. It must be some kind of permission error in his mailbox – can anyone tell me where to look next? BRStephan Read More
Character encoding in field names when working with power automate
This morning, I ran into an issue that I thought that someone else out there might run into. If you have a field name for example “SSL2” SharePoint is going to encode that field name with something like “_x0053_SL2″ you can see this name in the end of the URL when you open the list settings, then select that column. However, if you then try to use this field name in an OData filter you will get an error that the column does not exist. I was able to figure out that the field name when you are trying to access that field in the OData filter is “OData__x0053_SL2”. I was able to figure this out by creating a step that called Get Items without a filter then I checked the data that was returned.
Hope this helps someone!
This morning, I ran into an issue that I thought that someone else out there might run into. If you have a field name for example “SSL2” SharePoint is going to encode that field name with something like “_x0053_SL2” you can see this name in the end of the URL when you open the list settings, then select that column. However, if you then try to use this field name in an OData filter you will get an error that the column does not exist. I was able to figure out that the field name when you are trying to access that field in the OData filter is “OData__x0053_SL2”. I was able to figure this out by creating a step that called Get Items without a filter then I checked the data that was returned. Hope this helps someone! Read More
SharePoint/Excel – This content presents a potential security issue. Do you trust this content?
Since this morning several client versions of excel that have a pointing to sharepoint (our tenant) give the following message; does this happen to anyone else?
Since this morning several client versions of excel that have a pointing to sharepoint (our tenant) give the following message; does this happen to anyone else? Read More
“Two User Accounts Sharing the Same Username”
When booting up my computer, I noticed that there are two accounts with identical usernames. Should one of the accounts be removed? It’s important to determine which account has administrative privileges and which does not. If a user can operate their computer with an administrative account, is there a reason for a non-administrative account to occupy valuable storage and resources?
When booting up my computer, I noticed that there are two accounts with identical usernames. Should one of the accounts be removed? It’s important to determine which account has administrative privileges and which does not. If a user can operate their computer with an administrative account, is there a reason for a non-administrative account to occupy valuable storage and resources? Read More
Screen Freezing and Glitching Upon Waking from Sleep Mode
Hello,
I have encountered a persistent issue with my new Chinese laptop featuring an Intel i7-1280P processor, 16GB DDR4 RAM in single channel, and a 1TB SSD. Upon waking the laptop from sleep mode, the screen freezes, and at times, even exhibits glitches (refer to video: VID_20240105_005729393~2.mp4). The only temporary solution is to force a shutdown.
– Despite examining the Event Viewer logs, the only critical error reported is that “the system has rebooted without cleanly shutting down first.”
– A memtest was conducted, but no RAM issues were detected.
– A complete reinstallation of Windows 11 was performed, but the problem persisted.
I am open to repeating any troubleshooting steps suggested. As this is my initial post, please advise on additional information that may be required.
Hello,I have encountered a persistent issue with my new Chinese laptop featuring an Intel i7-1280P processor, 16GB DDR4 RAM in single channel, and a 1TB SSD. Upon waking the laptop from sleep mode, the screen freezes, and at times, even exhibits glitches (refer to video: VID_20240105_005729393~2.mp4). The only temporary solution is to force a shutdown.- Despite examining the Event Viewer logs, the only critical error reported is that “the system has rebooted without cleanly shutting down first.”- A memtest was conducted, but no RAM issues were detected.- A complete reinstallation of Windows 11 was performed, but the problem persisted.I am open to repeating any troubleshooting steps suggested. As this is my initial post, please advise on additional information that may be required. Read More
I am unable to log in as an administrator.
This all began when I tried to bypass the lock screen on my Windows 11 computer. Following advice from an online source, I pressed the Windows+R keys and entered “netplwiz,” leading to an inadvertent error in the settings that now prevents me from running any programs. Due to the lack of administrator privileges, I am unable to authorize changes and face the frustrating situation of being unable to log in as an admin or modify my account type through the control panel. Being the one who constructed this PC, it is ironic that a seemingly innocuous action has disrupted its functionality after a year of trouble-free operation. In a state of desperation for a solution, this issue has even resulted in damage to one of my monitors.
This all began when I tried to bypass the lock screen on my Windows 11 computer. Following advice from an online source, I pressed the Windows+R keys and entered “netplwiz,” leading to an inadvertent error in the settings that now prevents me from running any programs. Due to the lack of administrator privileges, I am unable to authorize changes and face the frustrating situation of being unable to log in as an admin or modify my account type through the control panel. Being the one who constructed this PC, it is ironic that a seemingly innocuous action has disrupted its functionality after a year of trouble-free operation. In a state of desperation for a solution, this issue has even resulted in damage to one of my monitors. Read More
رمز إحالة KuCoin: QBAYT4XB
استخدم رمز إحالة Kucoin “QBAYT4XB” للحصول على مكافأة تصل إلى 8.200 دولار أمريكي وخصم يصل إلى 20% على رسوم التداول! لا تنس إدخال الرمز للحصول على المكافأة!لاستخدام رمز إحالة Kucoin “QBAYT4XB“، ما عليك سوى إدخال الرمز الترويجي عند التسجيل في حسابك. باختصار، تعد KuCoin Crypto Exchange منصة موثوقة وسهلة الاستخدام توفر مجموعة واسعة من الميزات والفوائد.
استخدم رمز إحالة Kucoin “QBAYT4XB” للحصول على مكافأة تصل إلى 8.200 دولار أمريكي وخصم يصل إلى 20% على رسوم التداول! لا تنس إدخال الرمز للحصول على المكافأة!لاستخدام رمز إحالة Kucoin “QBAYT4XB”، ما عليك سوى إدخال الرمز الترويجي عند التسجيل في حسابك. باختصار، تعد KuCoin Crypto Exchange منصة موثوقة وسهلة الاستخدام توفر مجموعة واسعة من الميزات والفوائد. Read More