Questions tagged [azure-ad]
Azure Active Directory (Azure AD) is Microsoft’s multi-tenant cloud based directory and identity management service.
140 questions
0
votes
1
answer
43
views
No response from List permissions for a site using Microsoft Graph API
We use the graph API from Microsoft to get the details about site, drives, files, folder, etc.
The graph API works as expected and returns the results for those queries.
However, If I try to get the ...
0
votes
1
answer
21
views
Cannot index into a null array- Power automate
I'm using power automate to return user profile data from AAD via graph api.
My calling graph api query
https://graph.microsoft.com/v1.0/groups/groupid/members?$select=displayName,city,department,...
0
votes
1
answer
569
views
How to get all all user profil from AAD using power automate including properties
Iwouldlike to have a routine that dumps user profiles out to a csv/excel and also sync to a SharePoint list.What are my options with Power automate.
I'm looking at the 2 connectors below
1)Search for ...
0
votes
1
answer
231
views
What type of AD/security group can I get members of when using Power Automate
I'm sure I can get members of a group from a SharePoint group and Office 365 groups.
Can I also get members from AD group or mail-enabled security group. We don't have power automate premium ...
0
votes
2
answers
102
views
Azure/PowerFlow App (Get-PnPFlowRun/Microsoft.ProcessSimple) XrmApplyUserFailed Failed to create a representing user
Current system runs over user + plain password authentication.
2MFA is coming so I want replace it by client/secret solution.
I have did an app in Azure and things like read/write SharePoint is ...
0
votes
0
answers
48
views
In a Power Platform Environment, what is the difference between a "Microsoft Entra ID Office Group" and a "Microsoft Entra ID Security Group"?
I am working in the Power Platform admin center, configuring an Environment. I want to create a Team to set granular permissions. On the "New team" panel, one option is the "Team type&...
0
votes
0
answers
86
views
How to check if SharePoint URL exists?
Let's say we have the following SharePoint working URL:
https://mywebsite.sharepoint.com/_layouts/15/Test.aspx
The following code works for determining if the URL works or not unless the user is ...
0
votes
1
answer
52
views
unable to upload a self-signed certificate to our azure app registration
I have this script to generate a self-signed certificate:-
PS C:\Users\Administrator> New-SelfSignedCertificate -CertStoreLocation cert:\localmachine\my -DnsName "SPGPIntegration-Test" ...
0
votes
1
answer
112
views
Add new user in a sharepoint group with more than 5000 users
I have a SharePoint site the is used by internal and extarnal users. We use the default visitor group to manage the access. The group has more than 5k users. I cannot add new user in the group and ...
0
votes
2
answers
269
views
Can we add/define Office 365 security group to be able to add/remove users from all the Teams
We have created a security group named TeamsAdmin, as follow:
and we want users inside this group to be able to add/remove members/owners from all the Teams entities we currently have:
so is this ...
0
votes
1
answer
1k
views
Attempted to perform an unauthorized operation - Get List items API - Postman
I have just created an App in Azure Portal by following this Article.
I have followed the following Steps:
Registered App in Azure AD
Get the Client ID and Secret from the Registered App
Created API ...
0
votes
1
answer
254
views
login.microsoftonline.com refused to connect with SPFx
Facing issue: 'login.microsoftonline.com refused to connect'. It faced while deploy .sppkg file to Site. Solution works fine with workbench, but not works when deploy.
Please suggest solution for this ...
0
votes
1
answer
263
views
SharePoint Online’s Block Download File Policy - Does it involve some user licensing?
I have a requirement where they don't want users to download files.
There are 2 options I have been reading about.
Using Conditional Access Policy
Using a PowerShell command.
My question is there ...
0
votes
1
answer
7k
views
How to create a service account for Power Automate flows
I want to create many scheduled and automated flows for a client. Now as I know the power automate flows runs under the account which create it. So it is better to use a service account to create ...
0
votes
1
answer
682
views
Auto populate SharePoint column from Active Directory
I have a SharePoint list with a column called 'Name' (Person/Group type) where you can select a name from Active Directory.
I have then set up JSON formatting to auto populate the Email column. I'm ...
0
votes
1
answer
4k
views
List permissions for a site using Microsoft Graph API
We use the graph API from Microsoft to get the details about site, drives, files, folder, etc.
The graph API works as expected and returns the results for those queries.
However, If I try to get the ...
0
votes
1
answer
1k
views
How can I get data from azure web API in SPFx web part?
How can I load data from azure web API into SPFx web part?
API:
https://someazuresite.azurewebsites.net/api
Code I am using currently:
this.props.context.spHttpClient.get(`https://someazuresite....
0
votes
0
answers
38
views
Make a specific external/guest users in SharePoint Online able to search persons
We have an intranet based on SharePoint Online where we have a group of external/guests users from our sister intranet (also SPO). For these specific users, we want them to be able to do a personal ...
0
votes
1
answer
892
views
how fix CORS policy when I call an API?
How can I fix this error? I can't call my API from the backend
1
vote
1
answer
33
views
SharePoint Online是否可針對網站設定DisableCustomAppAuthentication 值
SharePoint Online是否可針對網站設定DisableCustomAppAuthentication 值,
例如:
Set-SPOSite -Identity https://xxxxxx.sharepoint.com/sites/xxxx -DisableCustomAppAuthentication $false
還是只能針對整個Tenant ,Set-SPOTenant -...
0
votes
1
answer
284
views
Create Azure AD App Only to authenticate our asp.net core console application
I want to create an Azure AD App Only to authenticate our console application which run on schedule bases and update some SharePoint online sites' lists and libraries. now i am following those steps @ ...
1
vote
3
answers
2k
views
Is Sites.Selected working with SharePoint REST API (and client secret)?
I've went through the following steps:
Created an Azure AD application + client secret
Granted SharePoint Sites.Selected permissions at Appplication level
Given admin consent
Granted FullControl to ...
0
votes
0
answers
202
views
How to authentication sharepoint onpremise by Azure AD using CSOM
I am using CSOM to connect to SharePoint on-premises site. I want to authenticate SharePoint site by using Azure AD, but it returns 401 error.
Please help me. Thanks.
0
votes
2
answers
66
views
Newly created site denies access to members
I'm using the REST API to create a site in SharePoint Online and add an AAD security group to the site member group. When one of the AAD group members tries to access the site it displays the access ...
0
votes
2
answers
2k
views
From Azure Function (secured by AAD), how to properly detect the caller (the end-user of SPFx WebPart) through the AadHttpClient?
Note:
Both Azure Function and the SPFx WebPart mentioned below are written in NodeJS/JavaScript. None of them are in C#.
I have an Azure Function (secured by AAD: App Registration) which is being ...
2
votes
2
answers
578
views
Trying to add an AD security group as site collection admin with PowerShell
I am trying to create a new SharePoint site and then add an AD security group as an additional site collection admin to that newly created site.
The only way I found to make this work is to use import-...
0
votes
2
answers
2k
views
Which action we should use to add user to a security group (non-office 365 group) using Power Automate
We have some security groups inside our AD. Some of them are mail enabled the others are not. now we want to add user to those security groups using power automate.
So which action we need to use:
OR
...
1
vote
1
answer
2k
views
Authentication - Sharepoint App-only vs Azure AD App-Only
To do the authentication to SharePoint we can do either
Granting access using SharePoint App-Only
Granting access via Azure AD App-Only
I don't have any issues using the 1st method however some ...
0
votes
1
answer
25
views
How achieve mulitple SP Online O365 Group Sites with same permissions as other sites
I understand that O365 Group SP sites are the way forward as it allows connectivity to other apps.
I would like to achieve a multiple SP sites to be controlled from a single permissions group, rather ...
0
votes
1
answer
793
views
Guest User access to Tenants Graph API
I am currently facing an issue with a requirement that was presented to me, and i would like to ask you guys on possible ways of solving it.
The requirement is to enable External/Guest users to have ...
0
votes
1
answer
111
views
SharePoint online - Get all those users given permissions but left organisation
Is there any way to get all users giving the permissions from all sites/lists of SharePoint online who no more exists in AzureAD . They may be left the organization but they still exists in SharePoint ...
1
vote
1
answer
2k
views
Fetch recently created AD users in Power Automate?
I'm creating a scheduler Power Automate flow that will run daily and fetch the recently created in the Azure AD.
The solution provided online is using MS Graph API and using /users endpoint but to use ...
0
votes
1
answer
134
views
How can I remove the blank item in SharePoint Admin API access (webApiPermissionManagement)?
Within the SharePoint admin center for API Access I have an approved request, but its blank (Highlighted line).
https://[tenant]-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx#/...
0
votes
2
answers
521
views
What is "Flow widgets" and how we can use & benefit from them
I am reading documents about Power Automate from Microsoft Docs and in below link, they are talking about "Flow widgets":
Integrate Power Automate with websites and apps
But I am not sure ...
0
votes
0
answers
30
views
People picker not returning results for first name in classic mode for SharePoint Online
When we type the first three letters of a person's first or last name into a people picker column using a SharePoint new/modern form in O365, we get results that include users that have those first ...
0
votes
1
answer
332
views
Programmatically check whether employee/user left the orgnization
We have sharepoint online site. We have one console application written in CSOM which send emails to users. We want to exclude users who left the orgnization.
How can we identify user left the ...
0
votes
1
answer
1k
views
Help with post request from SPFx secured by AD
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient-enterpriseapi < I have a few GET requests working in my SPFx app, but the guide here doesen't show you how to do a POST ...
0
votes
0
answers
27
views
How can I utilize Sharepoint as a DMS with Azure AD Authentication?
My company is starting to design and build a customer portal for handling customer documents.
Each of our "customers" is another business and may have multiple users from that business that ...
0
votes
0
answers
2k
views
Exclude groups in office 365 users search PowerApps
I am creating a people picker in the PowerApps using Office365Users connection. I am able to filter the users using the below format.
Filter(Office365Users.SearchUser(
{searchTerm:cmb_Office365User....
1
vote
1
answer
2k
views
Remove user photo for User
I have a requirement to remove the user photo from Azure AD User profile.
I checked for MS Graph APIs for User Photos. But as far as I know, MS Graph APIs are only available to add/upload photo. There ...
0
votes
0
answers
1k
views
An error occurred while retrieving token from XML response: AADSTS90023: Invalid STS request
I have an issue with my AD account.
I tried using Python to access SharePoint list folder. But I am facing an issue, as given below.
This is error:
An error occurred while retrieving token from XML ...
0
votes
0
answers
44
views
Power App form connected with Azure AD group not saving on submission to SP list
So I have a Power App form that is connected with Azure AD group and pulls group members and populate my drop-down as a choice. Before this implementation the drop-down was searchable and it was ...
0
votes
1
answer
48
views
Sharepoint Farmname and Federationname in SP2013 on prem
We are trying to connect Azure AD to our Sharepoint 2013 on premise for
SSO.
We have done some research and its looks doable. But one thing we cant find. Can someone help us with questions below?
...
1
vote
0
answers
136
views
Best way to deal with the Azure ACS retirement in a provider hosted Sharepoint Add-in?
I have a provider hosted Sharepoint Add-In that currently authenticates via Azure ACS, using the process that is currently outlined in the Microsoft documentation. I am aware that for a new tenant, ...
1
vote
0
answers
352
views
Custom file handler for SharePoint using azure AD enterprise application addin
I am trying to create a custom file handler add-in for SharePoint online just like 'Adobe Document Cloud',
I will be opening PDF type files in my own cloud viewer.
I followed the steps in
https://docs....
1
vote
1
answer
142
views
Access Denied error After migrate on-prem Local AD SP Database to Sharepoint Farm joined to AzureAD DS
I have migrated Sharepoint 2013 Farm which is joined to Local AD DS to Sharepoint 2016 Farm joined to AzureAD DS.
Client wants to take full use of AzureAD DS and want to migrate sharepoint farm to ...
1
vote
2
answers
3k
views
Unwanted permission requested by Azure AD Consent for PnP PowerShell
I am trying to register PnP PowerShell Enterprise app and currently app is requesting 27 different permissions . I would like minimize the number of permissions requested by PnP PowerShell . In my ...
1
vote
1
answer
192
views
Create a new navigation term in SPO TermStore from Azure Function (PnP PowerShell)
I'm trying to automate the creation of a TermStore term and apply a simple navigation link. I finally got my Azure Function to connect to SPO and query data, but when I use the New-PnPTerm command ...
0
votes
1
answer
388
views
Azure AD MFA for SharePoint Server Sites
We have a customer who has a SharePoint Server 2019 installation in Azure VM which is domain joined to Azure AD. There is no Windows AD present. As per new security rules, they are trying to enable ...
0
votes
1
answer
599
views
SharePoint 2019 Server - How do you sync user attributes from Azure AD into SPUser?
I am configuring a SharePoint 2019 on premise instance using Azure AD SSO with AzureCP claims based authentication.
When a user signs into a SP2019 site with SSO, it creates a new SPUser with account ...