Hi,
Currently to set the Branding Parameters for Azure AD Applications using Powershell scripts, We are calling the Graph API.
Is there any other way with Powershell commands to set the branding while creating the Azure AD application
Thanks,
Subbu
Hi,
Currently to set the Branding Parameters for Azure AD Applications using Powershell scripts, We are calling the Graph API.
Is there any other way with Powershell commands to set the branding while creating the Azure AD application
Thanks,
Subbu
Hello @Subramanyamk-9132
All AzureAD PowerShell commands and even the Azure Portal makes graph calls to make changes to Azure AD database in the background. There can be different versions of Graph API used to make any changes to Azure AD but all changes to Azure AD can only be made via Graph API. There is no way to make changes to Azure AD without using Graph API. This is as per design.
Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.
@Subramanyamk-9132, Thank you for reaching out. Yes, there is a Powershell cmdlet available to set the logo for the Application Registration in AAD.
You can use the following cmdlet:
Set-AzureADApplicationLogo -ObjectId 79592454-dea7-4660-9d91-f1768e5055ac -FilePath D:\applogo.jpg
Where the -ObjectID of the Application for which the logo is set.
You can find more details about this cmdlet here: https://docs.microsoft.com/en-us/powershell/module/azuread/set-azureadapplicationlogo?view=azureadps-2.0
Hope this helps.
Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.
Hi @soumi-MSFT,
We looking into setting the parameters "termsOfServiceUrl" and "privacyStatementUrl" in Azure AD application branding section using powershell commands.
@Subramanyamk-9132, Unfortunately, there are no PowerShell cmdlets available yet to set the "TermsOfServiceUrl" and "PrivacyStatementUrl" in app registration. The only available option is to use the Microsoft Graph API.
You can try using the Invoke-RestMethod in Powershell and make calls to the Graph API to set the TermsOfServiceURL and PrivacyStatementURL for your application.
Hope this helps.
Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.
@Subramanyamk-9132 , Just wanted to check if the above response helped in answering your query. Do let me know if there are any more queries around this so that we can help you further.
3 people are following this question.