question

johnjohn-0472 avatar image
0 Votes"
johnjohn-0472 asked johnjohn-0472 edited

Is Azure AD App-Only deprecated

I am following the steps mentioned on this link @ https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azuread to register a new application inside Azure AD. but when i click to register a new application, i got this message:-

123967-adapp.png



so does this mean that Azure AD App-Only is now deprecated ? if the answer is yes then what is the most up to date approach?
now what i am trying to do is to register an application inside Azure AD and create a certificate then use the clientId,TenantId, certificate to be able to authenticate my SharePoint CSOM code against SharePoint online using this code PnP.Framework.AuthenticationManager(clientId, certificatePath, certificatePassword, tenantId);



office-sharepoint-online
adapp.png (37.0 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@johnjohn-0472 , The PnP framework does depend on the ADAL library. Someone from Sharepoint side may be able to provide more clarity whether the Sharepoint backend still uses the older ADAL libraries or not and if this affected the Azure AD app only implementation .

0 Votes 0 ·

@shashishailaj ok thanks for the info.

0 Votes 0 ·

1 Answer

YiLu-MSFT avatar image
0 Votes"
YiLu-MSFT answered johnjohn-0472 edited

Hi @johnjohn-0472
You could still use Azure AD APP-Only.

However, take attention: If you choose not to migrate to MSAL before ADAL support ends on June 30, 2022, you put your app's security at risk. Existing apps that use ADAL will continue to work after the end-of-support date, but Microsoft will no longer release security fixes on ADAL.

For more information, you could refer to:
https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-migration


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@YiLu-MSFT so now i am a bit confused.. i want to be able to access our SharePoint lists from our .net console application.. so which is the latest approach to authenticate my CSOM code with SharePoint online ?
Thanks

0 Votes 0 ·