Access Denied when using Get-MgUserFollowedSite, despite having delegated access #2713
Labels
no-recent-activity
status:waiting-for-author-feedback
Issue that we've responded but needs author feedback to close
type:bug
A broken experience
Describe the bug
Using a GA in Azure, I still get 403 Access Denied when trying to use Get-MgUserFollowedSite. I am able to access the sitelist of the signed in account but cannot get the list of other users.
Expected behavior
I would expect to get the list of sites followed by the user as I get with the currently logged in user.
How to reproduce
SDK Version
2.17.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Configuration
PSVersion 7.4.2
PSEdition Core
GitCommitId 7.4.2
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
(Get-MgContext).Scopes
Application.Read.All
Application.ReadWrite.All
AppRoleAssignment.ReadWrite.All
BitlockerKey.Read.All
BitlockerKey.ReadBasic.All
DelegatedPermissionGrant.ReadWrite.All
Device.Read.All
DeviceManagementConfiguration.Read.All
Directory.Read.All
Directory.ReadWrite.All
Group.Read.All
Group.ReadWrite.All
GroupMember.Read.All
MailboxSettings.ReadWrite
openid
Organization.Read.All
Policy.Read.All
Policy.ReadWrite.Authorization
Policy.ReadWrite.PermissionGrant
Presence.Read.All
PrivilegedAccess.ReadWrite.AzureAD
profile
RoleManagement.Read.Directory
Sites.ReadWrite.All
User.Read
User.Read.All
User.ReadBasic.All
User.ReadWrite.All
email
Files.Read.All
Other information
This is a very similar situation as Issue #2338 but this isn't related to OneDrive so I can't just add the GA account to the admin permissions of their personal site.
The text was updated successfully, but these errors were encountered: